LibreBooking / docker

Librebooking as a docker container
GNU General Public License v3.0
11 stars 9 forks source link

librebooking keeps restarting #50

Closed alaouiz closed 1 year ago

alaouiz commented 1 year ago

Librebooking was running ok for few weeks and then suddenly started failing continuously. The last logs from the librebooking container are as follows:

alaouiz commented 1 year ago

Attached the Libre booking logs. Librebooking_logs.txt

alaouiz commented 1 year ago

Attached the docker compose file docker_compose.yml.txt

colisee commented 1 year ago

Hi @alaouiz ,

Your issue seems to originate from the following instruction, inside the container entry point /usr/local/bin/entrypoint.sh

php -r 'if (hash_file('\''sha384'\'', '\''composer-setup.php'\'') === '\''55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae'\'') { echo '\''Installer verified'\''; } else { echo '\''Installer corrupt'\''; unlink('\''composer-setup.php'\''); } echo PHP_EOL;'

The file composer-setup.php no longer has the expected sha384 value.

Since you are using an old image version, I would suggest you use one of the latest production image versions:

If you wish to enforce stricter version update control, then you could suffix the above with the repository version, as follows:

Please, let me know if that solved your issue.