mansbjorn Posted September 12, 2022 Share Posted September 12, 2022 Hi, I think I have two problems with the moodle docker. It used to work before I changed around my cache drives and now I cannot get it to work. The first problem seems to be a missing "realpath" as per the second line below. The second problem is that it doesnt connect to my mariadb, or perhaps the two are connected? When i try to open the webUI for moodle i simply get an error connection refused. Any help would be most appreciated. Below are the docker container log and then the system log. moodle 20:19:10.84 Welcome to the Bitnami moodle container moodle 20:19:10.84 Subscribe to project updates by watching https://github.com/bitnami/containers moodle 20:19:10.85 Submit issues and feature requests at https://github.com/bitnami/containers/issues moodle 20:19:10.85 moodle 20:19:10.85 INFO ==> ** Starting Moodle setup ** realpath: /bitnami/apache/conf: No such file or directory moodle 20:19:10.92 INFO ==> Configuring Apache ServerTokens directive moodle 20:19:10.98 INFO ==> Configuring PHP options moodle 20:19:10.99 INFO ==> Setting PHP expose_php option moodle 20:19:11.01 INFO ==> Setting PHP memory_limit option moodle 20:19:11.06 INFO ==> Validating settings in MYSQL_CLIENT_* env vars moodle 20:19:11.07 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars moodle 20:19:11.24 INFO ==> Ensuring Moodle directories exist moodle 20:19:11.31 INFO ==> Trying to connect to the database server moodle 20:20:11.65 ERROR ==> Could not connect to the database ** Press ANY KEY to close this window ** Sep 12 20:41:44 Homeserver kernel: docker0: port 3(veth6f0bec4) entered blocking state Sep 12 20:41:44 Homeserver kernel: docker0: port 3(veth6f0bec4) entered disabled state Sep 12 20:41:44 Homeserver kernel: device veth6f0bec4 entered promiscuous mode Sep 12 20:41:45 Homeserver kernel: eth0: renamed from vethbe779e8 Sep 12 20:41:45 Homeserver kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth6f0bec4: link becomes ready Sep 12 20:41:45 Homeserver kernel: docker0: port 3(veth6f0bec4) entered blocking state Sep 12 20:41:45 Homeserver kernel: docker0: port 3(veth6f0bec4) entered forwarding state Sep 12 20:41:46 Homeserver avahi-daemon[7843]: Joining mDNS multicast group on interface veth6f0bec4.IPv6 with address fe80::6cd8:33ff:fee0:eae1. Sep 12 20:41:46 Homeserver avahi-daemon[7843]: New relevant interface veth6f0bec4.IPv6 for mDNS. Sep 12 20:41:46 Homeserver avahi-daemon[7843]: Registering new address record for fe80::6cd8:33ff:fee0:eae1 on veth6f0bec4.*. Quote Link to comment
mansbjorn Posted September 13, 2022 Author Share Posted September 13, 2022 it was my installation of the duckdns container that destroyed it. Now looking into how to solve that... Quote Link to comment
bobalot Posted November 28, 2022 Share Posted November 28, 2022 On 9/13/2022 at 4:43 AM, mansbjorn said: Hi, I think I have two problems with the moodle docker. It used to work before I changed around my cache drives and now I cannot get it to work. The first problem seems to be a missing "realpath" as per the second line below. The second problem is that it doesnt connect to my mariadb, or perhaps the two are connected? When i try to open the webUI for moodle i simply get an error connection refused. Any help would be most appreciated. Below are the docker container log and then the system log. moodle 20:19:10.84 Welcome to the Bitnami moodle container moodle 20:19:10.84 Subscribe to project updates by watching https://github.com/bitnami/containers moodle 20:19:10.85 Submit issues and feature requests at https://github.com/bitnami/containers/issues moodle 20:19:10.85 moodle 20:19:10.85 INFO ==> ** Starting Moodle setup ** realpath: /bitnami/apache/conf: No such file or directory moodle 20:19:10.92 INFO ==> Configuring Apache ServerTokens directive moodle 20:19:10.98 INFO ==> Configuring PHP options moodle 20:19:10.99 INFO ==> Setting PHP expose_php option moodle 20:19:11.01 INFO ==> Setting PHP memory_limit option moodle 20:19:11.06 INFO ==> Validating settings in MYSQL_CLIENT_* env vars moodle 20:19:11.07 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars moodle 20:19:11.24 INFO ==> Ensuring Moodle directories exist moodle 20:19:11.31 INFO ==> Trying to connect to the database server moodle 20:20:11.65 ERROR ==> Could not connect to the database ** Press ANY KEY to close this window ** Sep 12 20:41:44 Homeserver kernel: docker0: port 3(veth6f0bec4) entered blocking state Sep 12 20:41:44 Homeserver kernel: docker0: port 3(veth6f0bec4) entered disabled state Sep 12 20:41:44 Homeserver kernel: device veth6f0bec4 entered promiscuous mode Sep 12 20:41:45 Homeserver kernel: eth0: renamed from vethbe779e8 Sep 12 20:41:45 Homeserver kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth6f0bec4: link becomes ready Sep 12 20:41:45 Homeserver kernel: docker0: port 3(veth6f0bec4) entered blocking state Sep 12 20:41:45 Homeserver kernel: docker0: port 3(veth6f0bec4) entered forwarding state Sep 12 20:41:46 Homeserver avahi-daemon[7843]: Joining mDNS multicast group on interface veth6f0bec4.IPv6 with address fe80::6cd8:33ff:fee0:eae1. Sep 12 20:41:46 Homeserver avahi-daemon[7843]: New relevant interface veth6f0bec4.IPv6 for mDNS. Sep 12 20:41:46 Homeserver avahi-daemon[7843]: Registering new address record for fe80::6cd8:33ff:fee0:eae1 on veth6f0bec4.*. Hi, I have exactly the same problem on connecting to the database. It actually connected once but I keep getting this error. How did you fix this? 1 Quote Link to comment
helomen Posted February 17 Share Posted February 17 Same problelm here: moodle 19:45:58.32 INFO ==> moodle 19:45:58.32 INFO ==> Welcome to the Bitnami moodle container moodle 19:45:58.33 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers moodle 19:45:58.33 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues moodle 19:45:58.33 INFO ==> moodle 19:45:58.33 INFO ==> ** Starting Moodle setup ** realpath: /bitnami/apache/conf: No such file or directory moodle 19:45:59.07 INFO ==> Configuring Apache ServerTokens directive moodle 19:45:59.10 INFO ==> Configuring PHP options moodle 19:45:59.10 INFO ==> Setting PHP expose_php option moodle 19:45:59.11 INFO ==> Setting PHP memory_limit option moodle 19:45:59.12 INFO ==> Setting PHP output_buffering option moodle 19:45:59.15 INFO ==> Validating settings in MYSQL_CLIENT_* env vars moodle 19:45:59.16 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars moodle 19:45:59.24 INFO ==> Ensuring Moodle directories exist moodle 19:45:59.27 INFO ==> Trying to connect to the database server moodle 19:46:59.42 ERROR ==> Could not connect to the database any ideas how to fix this? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.