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

How to install? #4

Open
magick93 opened this issue Apr 28, 2020 · 2 comments
Open

How to install? #4

magick93 opened this issue Apr 28, 2020 · 2 comments

Comments

@magick93
Copy link

I ran docker run --name some-drupal -p 8080:80 -d insready/drupal-commerce and then went to http://localhost:8080. The installation page loaded fine.

However, I cant move past the installation page due to:


Errors found
Configuration directory: sync
An automated attempt to create the directory ../config/sync failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.

How can I resolve this?

@Unclezz
Copy link

Unclezz commented May 5, 2020

Hi,

there is a permission issue on the config directory.
Try to enter in the container to check:

docker exec -it <your_container_Id> bash

I personally use for my testing volumes in a docker-compose file with a modified version of this repo and the onky ting I need to change is a couple of lines as well as change permission on my volumes indeed :)

@Unclezz
Copy link

Unclezz commented May 7, 2020

Hi again,

so, to fix your issue (I believe following is more a workaround), yo ucan enter your docker container with command I provided in previous message and modify last row of the settings.php file from:

$config_directories['sync'] = '../config/sync';`

to

$settings['config_sync_directory'] = '../config/sync';

Source: https://www.drupal.org/docs/8/configuration-management/changing-the-storage-location-of-the-sync-directory

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

2 participants