Closed mricim closed 2 years ago
Hi @mricim !
Did you double checked environment variables at docker-compose.yml ?
Hi @lupa18 !
I think so, just modify "SITE_URL" and the rest is by default. Do I have to check something else?
Yes, I changed a lot, but you're right, that should be enough (did you masked real URL for post it here, right?).
Error seems to be: "Config table does not contain the version".
Did you tried to delete container, volumes and up again?
Yes, I did everything clean, I even tried to use "docker-compose up --build" and it doesn't work either. In one of the moodle tests I was trying to update and it threw an error saying that it needed a version higher than 3.6, maybe it's something else.
Hello, if you set a SITE_URL, moodle will try to load from there, so you need to expose the container to that URL, if you want to trick this you should use a proxy as Nginx in the front or something like traefik, try to explain your needs and I will try to help you with the configuration.
Best regards!
Hi @erseco , I wanted to use moodle in an rpi3b+, modify only that parameter and it throws me that error. Don't modify anything else, I don't want to put it behind anything. I can't really give you more information as I don't think I have anything else to give you. I can do the tests and deliver the logs that you consider if you need it
Ok, but after installing moodle in your raspberry, how do you want to access the installed moodle? Using a custom domain name? Using the raspberry IP address? Is important to configure it properly.
Best!
I use my own domain name. I have used it before with both nginx and apache and it has worked perfectly for me. I have also tried using the ip internally. The moodle installation screen appears in both cases, but it gives an error when installing it (conf missing and error with the db)
In that case you must point the domain address in your raspberry's /etc/hosts
file
For example, if your domain is example.com add a line to that file like this
127.0.0.1 example.com
When I use "docker-compose up" I get this error:
Is there something that I have left or is something really not working?