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?

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/fJByZhic

https://github.com/simjanos-dev/LinguaCafe

What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:

https://imgur.com/a/PiazCcP

Never had that happen before. Does anyone know? Thanks

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    Probably just a permission issue. The doc seems to recommend giving relaxed permission to the temp folder volume:

    sudo chmod 777 /your/linguacafe/temp/folder -R

  • singularity@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    You seem to be missing your username in the volume paths, e.g. /home/username/Documents.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    7 months ago

    Did you change the mysql container database name, username and password to something other than the default linguacafe ?

    That would break it, as it’s using those specific credentials to login to the database. Which would cause Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from users)

    Try with the default, you’ll need to wipe the mysql data under /home/user/Documents/Docker/LinguaCafe/database/ after stopping the container first.

        environment:
            MYSQL_DATABASE: linguacafe
            MYSQL_USER: linguacafe
            MYSQL_PASSWORD: linguacafe
            MYSQL_ROOT_PASSWORD: linguacafe
            SERVICE_NAME: linguacafe