mondediefr / docker-flarum

:speech_balloon: :whale: Docker image of Flarum
https://hub.docker.com/r/mondedie/flarum
MIT License
504 stars 133 forks source link

Some issues with flarum and docker #116

Open andreiwow2 opened 1 year ago

andreiwow2 commented 1 year ago

After building the docker image and running docker compose, the first issue was that the database user wasn't created, and root was created without a password, even if I specified a root password for database.

I fixed that by creating manually an user in the database.

The next issue that I can't seem to figure out is that I can't enable some extensions in the Admin Panel due to errors in database.

For example if I try to enable Tags or Posts Likes, I get the following errors.

2023-02-23 01:23:01 2023-02-23 1:23:01 15 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist. 2023-02-23 01:23:07 2023-02-23 1:23:07 16 [ERROR] InnoDB: Cannot rename './flarum/flarum_post_likes.ibd' to './flarum/#sql-backup-1-10.ibd' because the source file does not exist.