TechnicPack / TechnicSolder

PHP web app that brings differential updates to the Technic Launcher and Technic Platform
https://docs.solder.io/
Other
169 stars 167 forks source link

Docker Solder database is corrupted at startup #717

Closed Pyker closed 1 year ago

Pyker commented 1 year ago

In the Docker container, due to where the database volume is mounted when the setup script runs, the permissions for the database files get changed and become owned by "www-data", which causes MariaDB to consider the tables as corrupted when it tries to write to them (like, for example, adding a mod):

image

Attempting to correct the permissions seems to not work, needing to fully recreate the tables with php artisan migrate:fresh.