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

Container can not be restarted #65

Closed
yenyen opened this issue Sep 26, 2023 · 3 comments · Fixed by #67
Closed

Container can not be restarted #65

yenyen opened this issue Sep 26, 2023 · 3 comments · Fixed by #67
Assignees
Labels
bug Something isn't working

Comments

@yenyen
Copy link
Contributor

yenyen commented Sep 26, 2023

Hello,

When the container is restarted, it throws an error and stops :

/config /var/www/html
/var/www/html
+ '[' -f /config/config.php ']'
+ '[' -f /var/www/html/config/config.php ']'
++ find /var/www/html/plugins -type f -name '*dist*'
+ for source in $(find /var/www/html/plugins -type f -name "*dist*")
++ echo /var/www/html/plugins/Authentication/Moodle/Moodle.config.dist.php
++ sed -e s/.dist//
+ target=/var/www/html/plugins/Authentication/Moodle/Moodle.config.php
++ basename /var/www/html/plugins/Authentication/Moodle/Moodle.config.php
+ cp --no-clobber /var/www/html/plugins/Authentication/Moodle/Moodle.config.dist.php /config/Moodle.config.php
++ basename /var/www/html/plugins/Authentication/Moodle/Moodle.config.php
+ chown www-data:www-data /config/Moodle.config.php
++ basename /var/www/html/plugins/Authentication/Moodle/Moodle.config.php
+ ln -s /config/Moodle.config.php /var/www/html/plugins/Authentication/Moodle/Moodle.config.php
ln: failed to create symbolic link '/var/www/html/plugins/Authentication/Moodle/Moodle.config.php': File exists

Tested on versions: 2.8.5.5, 2.8.6 and develop

yenyen pushed a commit to yenyen/librebooking-docker that referenced this issue Sep 26, 2023
colisee pushed a commit that referenced this issue Sep 26, 2023
@colisee
Copy link
Collaborator

colisee commented Sep 26, 2023

Hi @yenyen,

Thank you very much for your PR. I applied it, but I had to make a little correction.
Could you please check the new published image(s) librebooking/librebooking:{2.8.5.5, 2.8.6.1, develop}-2.3.2 ?

@yenyen
Copy link
Contributor Author

yenyen commented Sep 27, 2023

Hi @colisee,

Thank you for reactivity, I tried the version 2.8.6.1 and it's working perfectly.

Thank you again.

@colisee
Copy link
Collaborator

colisee commented Sep 27, 2023

Excellent!

@colisee colisee self-assigned this Sep 27, 2023
@colisee colisee added the bug Something isn't working label Sep 27, 2023
@colisee colisee linked a pull request Sep 27, 2023 that will close this issue
@colisee colisee closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants