Maescool / docker-Cloudlog

Dockerized Cloudlog amateur radio logging application
20 stars 6 forks source link

Initial Docker run, not working #3

Closed kd9lsv closed 1 year ago

kd9lsv commented 1 year ago

Hello, I am trying to install cloudlog and I get an error on the website. once I run the run.sh Here are the error messages I receive. Each time I refresh I get the next error message. After the error messages the webpage gives me a 500 error. image image image Here are the docker compose logs if that helps.

Attaching to cloudloga_web_1, cloudloga_app_1, cloudloga_cron_1, cloudloga_redis_1, cloudloga_mariadb_1
cron_1     | Making sure volumed directories have right perms
cron_1     | No config file, creating one based on template
cron_1     | Config file has been created.
cron_1     | No DB config file, creating one based on template
cron_1     | DB Config file has been created.
cron_1     | Wating for mysql to come up
cron_1     | done
redis_1    | 1:C 02 Jan 2023 07:40:51.884 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1    | 1:C 02 Jan 2023 07:40:51.884 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1    | 1:C 02 Jan 2023 07:40:51.884 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1    | 1:M 02 Jan 2023 07:40:51.885 * monotonic clock: POSIX clock_gettime
redis_1    | 1:M 02 Jan 2023 07:40:51.885 * Running mode=standalone, port=6379.
redis_1    | 1:M 02 Jan 2023 07:40:51.885 # Server initialized
redis_1    | 1:M 02 Jan 2023 07:40:51.885 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1    | 1:M 02 Jan 2023 07:40:51.886 * Loading RDB produced by version 6.2.6
redis_1    | 1:M 02 Jan 2023 07:40:51.886 * RDB age 14 seconds
redis_1    | 1:M 02 Jan 2023 07:40:51.886 * RDB memory usage when created 0.77 Mb
redis_1    | 1:M 02 Jan 2023 07:40:51.886 # Done loading RDB, keys loaded: 0, keys expired: 0.
redis_1    | 1:M 02 Jan 2023 07:40:51.886 * DB loaded from disk: 0.000 seconds
redis_1    | 1:M 02 Jan 2023 07:40:51.886 * Ready to accept connections
app_1      | Making sure volumed directories have right perms
app_1      | No config file, creating one based on template
app_1      | Config file has been created.
app_1      | No DB config file, creating one based on template
app_1      | DB Config file has been created.
app_1      | Wating for mysql to come up
app_1      | done
app_1      | table options not found, installing db tables
app_1      | ERROR 1050 (42S01) at line 424: Table 'dxcc_entities' already exists
app_1      | removing install dir, not needed anymore
app_1      | starting php-fpm
web_1      | 2023/01/02 07:40:55 [warn] 8#8: *1 using uninitialized "fe_https" variable, client: 172.25.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1      | 172.25.0.1 - - [02/Jan/2023:07:40:55 +0000] "GET / HTTP/1.1" 500 912 "-" "Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0"
web_1      | 2023/01/02 07:42:16 [warn] 8#8: *3 using uninitialized "fe_https" variable, client: 172.25.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1      | 172.25.0.1 - - [02/Jan/2023:07:42:16 +0000] "GET / HTTP/1.1" 500 681 "-" "Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0"
web_1      | 2023/01/02 07:42:29 [warn] 8#8: *3 using uninitialized "fe_https" variable, client: 172.25.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1      | 172.25.0.1 - - [02/Jan/2023:07:42:30 +0000] "GET / HTTP/1.1" 500 953 "-" "Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0"
web_1      | 2023/01/02 07:42:42 [warn] 8#8: *3 using uninitialized "fe_https" variable, client: 172.25.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1      | 172.25.0.1 - - [02/Jan/2023:07:42:43 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; rv:108.0) Gecko/20100101 Firefox/108.0"
web_1      | 2023/01/02 07:44:39 [warn] 8#8: *7 using uninitialized "fe_https" variable, client: 172.25.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1      | 172.25.0.1 - - [02/Jan/2023:07:44:39 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
mariadb_1  | 2023-01-02 07:40:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.4.27+maria~ubu2004 started.
mariadb_1  | 2023-01-02 07:40:52+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mariadb_1  | 2023-01-02 07:40:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.4.27+maria~ubu2004 started.
mariadb_1  | 2023-01-02 07:40:52+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mariadb_1  | 2023-01-02  7:40:52 0 [Note] mysqld (mysqld 10.4.27-MariaDB-1:10.4.27+maria~ubu2004) starting as process 1 ...
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Uses event mutexes
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Number of pools: 1
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Using SSE2 crc32 instructions
mariadb_1  | 2023-01-02  7:40:52 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Waiting for purge to start
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: 10.4.27 started; log sequence number 296425; transaction id 842
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mariadb_1  | 2023-01-02  7:40:52 0 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1  | 2023-01-02  7:40:52 0 [Note] Server socket created on IP: '::'.
mariadb_1  | 2023-01-02  7:40:52 0 [Note] InnoDB: Buffer pool(s) load completed at 230102  7:40:52
mariadb_1  | 2023-01-02  7:40:52 0 [Note] Reading of all Master_info entries succeeded
mariadb_1  | 2023-01-02  7:40:52 0 [Note] Added new Master_info '' to hash table
mariadb_1  | 2023-01-02  7:40:52 0 [Note] mysqld: ready for connections.
mariadb_1  | Version: '10.4.27-MariaDB-1:10.4.27+maria~ubu2004'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
Maescool commented 1 year ago

Hi thanks for the report.

I have implemented a fix in commit 55e8bb4

you can now docker-compose stop, then remove and recreate the storage dir (since it's corrupted anyway), git pull and run.sh again.

kd9lsv commented 1 year ago

thanks for the fix. it works completely as intended now. you can close this issue.