Closed marioqqq closed 7 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
As you can see from the log, when it's trying to create the database, it's already seeing the nextcloud folder there before the creation of database so it is assuming it already has files within it.
I see, so I removed - MYSQL_DATABASE=nextcloud
from environment variables. Error is gone, but user is still not created.
The user creation on happens on first/clean run.
Before starting each container I removed all volumes and container it self as well.
As this isn't an issue with the container and more a problem with how the compose files are being used please continue this in Discord.
Is there an existing issue for this?
Current Behavior
I wanted to create dedicated DB for my services. So with help of docs I created .yaml file with few changes.
DB was created, user as well. Great! But I run all my services in TrueNas Scale VM (Ubuntu image). So I wanted to isolate nextcloud DB. In volumes I added:
- ./nextcloud:/config/databases/nextcloud
NOTE - for testing I mapped it locally into VMDB was created, but user wasn't. What could cause it? It is highly possible, that I missed something or configured wrong.
Expected Behavior
User should be created as well
Steps To Reproduce
Docker creation
docker-compose up -d
Environment
CPU architecture
x86-64
Docker creation
Container logs