Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing site on df using SQLite #193

Open
lauriii opened this issue Dec 10, 2019 · 8 comments
Open

Error when installing site on df using SQLite #193

lauriii opened this issue Dec 10, 2019 · 8 comments

Comments

@lauriii
Copy link

lauriii commented Dec 10, 2019

I tried to install df with SQLite but I got the following error:

# lauri.eskola @ Lauris-MBP in ~/Projects/acquia_demo_framework/docroot on git:8.x-4.x x [11:53:14]
$ drush site-install df --db-url=sqlite://sites/default/files/.ht.sqlite


 You are about to DROP all tables in your 'sites/default/files/.ht.sqlite' database. Do you want to continue? (yes/no) [yes]:
 >

 [notice] Starting Drupal installation. This takes a while.

In ConfigRewriter.php line 162:

  Tried to rewrite config workflows.workflow.editorial by df_tools_workflow module without initial config.

This error doesn't happen with the exact same setup when Mysql is being used.

@lauriii lauriii changed the title Error when installing with SQLite Error when installing site on df using SQLite Dec 10, 2019
@saltednut
Copy link
Contributor

Could this possibly have something to do with core and how it writes to different databases? Might be good to follow up with some sqlite tests for config_rewrite?

@lauriii
Copy link
Author

lauriii commented Dec 10, 2019

It could be a core bug that trickles down here. I didn't have time to debug this so I just thought I'd open a ticket here to make sure it has been written down somewhere.

@rlnorthcutt
Copy link
Contributor

I ran into the same issue using SQLite in testing. I moved the workflows.workflow.editorial.yml from rewrite into optional, and it worked.

@saltednut
Copy link
Contributor

I believe that'd be from an older version of DF, Ron. As of this commit and later this commit 22 days ago
we stopped rewriting or installing the workflow.editorial and defer to Lightning's optional config to install it.

Are both of you using the latest release? These changes should be in rc2

@lauriii
Copy link
Author

lauriii commented Dec 10, 2019

I created my project by using composer create-project acquia/df-project -s dev earlier today and it seems to have installed 4.0.0-beta4 version of df. I can try later if updating to rc2 helps.

@saltednut
Copy link
Contributor

I wonder if composer/packagist sees the 4.0.0-rcX versions as lesser than 4.0.0-betaX? Very strange. We've had two releases since beta4. :( https://packagist.org/packages/acquia/df

@saltednut
Copy link
Contributor

saltednut commented Dec 10, 2019

I went ahead and did some tighter version constraints in df-project and updated packagist. The SHA you should see when running is: f03f6a3ea7ca941913e8ac969cf0c4f70fa74ef3

composer create-project acquia/df-project -s dev
Installing acquia/df-project (dev-8.x-4.x f03f6a3ea7ca941913e8ac969cf0c4f70fa74ef3)

This version downloaded 8.x-4.x-rc2 successfully but now I am seeing errors downloading cohesion/dx8

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - acquia/df 4.0.0-rc2 requires cohesion/dx8 5.7.1 -> no matching package found.
    - acquia/df 4.0.0-rc1 requires cohesion/dx8 5.7.1 -> no matching package found.
    - Installation request for acquia/df ^4.0.0-rc1 -> satisfiable by acquia/df[4.0.0-rc1, 4.0.0-rc2].

Gonna go ahead and close this one since its resolved and start up a new thread about that.

@saltednut
Copy link
Contributor

Just realized it was the VCS definitions that needed to be added. Updated, so look for 563459f as the hash now when running composer create-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants