Hello everyone,
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.
Can someone take a look at my compose file and tell me where I’m stupid?
_____________ EDITS
Progress has been made, I used chmod 777 on the whole app directory and now get the following error :
Illuminate\Database\QueryException
SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from users
)
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. https://pastebin.com/u2cbWm2n
https://github.com/simjanos-dev/LinguaCafe
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.
Never had that happen before. Does anyone know? Thanks
You seem to be missing your username in the volume paths, e.g. /home/username/Documents.
Sorry that’s on me. That’s one thing I removed from the pastebin file on purpose, it’s here in the real one. I copy paste my path to be sure it’s correct.
I think I solved the permission issue? See edit in the main post.
Based on your update you may need to bring the containers down and up to fix the database.
Sometimes when opening LinguaCafe the first time there is an error message about users database table. If this happens, just stop and start your containers again, it should fix the problem.
docker compose down docker compose up -d