tiredofit / docker-freescout

Dockerized web based help desk and shared inbox
MIT License
225 stars 92 forks source link

Error running `docker-compose-no-proxy` out of the box #146

Closed sternj closed 1 year ago

sternj commented 1 year ago

Summary

When running docker-compose up on a Linux installation, I get the following error chain (which repeats):

freescout-app          | nginx: [emerg] open() "/www/logs/nginx//access.log" failed (2: No such file or directory)
freescout-app          | 2023-08-27.16:44:14 [STARTING] ** [php-fpm] [32] Starting php-fpm 8.2.8
freescout-app          | 2023-08-27.16:44:15 [STARTING] ** [nginx] [34] Starting nginx **1.25.2**

Steps to reproduce

  1. cd to examples
  2. replace 80:80 with 8088:80

What is the expected correct behavior?

No errors

Relevant logs and/or screenshots

Environment

Any logs | docker-compose.yml freescout-db | ,---. freescout-db | ,--------.,--. ,--. ,---. ,--. ,--------.| | freescout-db | '--. .--'`--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' freescout-db | | | ,--.| .--'| .-. :' .-. | | .-. || `-, | | | | | | freescout-db | | | | || | \ --.\ `-' | ' '-' '| .-' | |.--.| | `--' freescout-db | `--' `--'`--' `----' `---' `---' `--' `--''--'`--' .--. freescout-db | '--' freescout-app | ,---. freescout-app | ,--------.,--. ,--. ,---. ,--. ,--------.| | freescout-app | '--. .--'`--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' freescout-app | | | ,--.| .--'| .-. :' .-. | | .-. || `-, | | | | | | freescout-app | | | | || | \ --.\ `-' | ' '-' '| .-' | |.--.| | `--' freescout-app | `--' `--'`--' `----' `---' `---' `--' `--''--'`--' .--. freescout-app | '--' freescout-app | Image: tiredofit/freescout | Version 1.17.23 Type 'image_changelog' for details freescout-db | Image: tiredofit/mariadb:10.6 | Version 3.10.6 Type 'image_changelog' for details freescout-app | Repository/Documentation: https://github.com/tiredofit/docker-freescout/ freescout-app | freescout-db | Repository/Issues/Support: https://github.com/tiredofit/docker-mariadb/ freescout-app | If this image provides you value - Consider sponsoring my work for continued freescout-app | development, timely updates, and feature requests. Commercial support available. freescout-app | freescout-app | More Info: https://www.tiredofit.ca freescout-db | Like my work? Visit https://www.tiredofit.ca/sponsor freescout-app | freescout-db | freescout-app | 2023-08-27.16:52:53 [NOTICE] ** [container-init] Detected Container that has been restarted - Cleaning '/tmp/.container' files freescout-db | 2023-08-27.23:52:51 [NOTICE] ** [container-init] Detected Container that has been restarted - Cleaning '/tmp/state' files freescout-db | 2023-08-27.23:52:52 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix classic' freescout-db | 2023-08-27.23:52:52 [NOTICE] ** [scheduling] Disabling Scheduling freescout-db | sed: /etc/logrotate.d/mariadb: No such file or directory freescout-db | 2023-08-27.23:52:52 [WARN] ** [mariadb] MariaDB data directory is not found, creating initial DB(s) freescout-app | 2023-08-27.16:52:53 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern' freescout-db-backup | ,---. freescout-db-backup | ,--------.,--. ,--. ,---. ,--. ,--------.| | freescout-db-backup | '--. .--'`--',--.--. ,---. ,-| | ,---. / .-' | | '--. .--'| .' freescout-db-backup | | | ,--.| .--'| .-. :' .-. | | .-. || `-, | | | | | | freescout-db-backup | | | | || | \ --.\ `-' | ' '-' '| .-' | |.--.| | `--' freescout-db-backup | `--' `--'`--' `----' `---' `---' `--' `--''--'`--' .--. freescout-db-backup | '--' freescout-db-backup | Image: tiredofit/db-backup | Version 3.9.11 Type 'image_changelog' for details freescout-db-backup | Repository/Documentation: https://github.com/tiredofit/docker-db-backup/ freescout-db-backup | freescout-db-backup | If this image provides you value - Consider sponsoring my work for continued freescout-db-backup | development, timely updates, and feature requests. Commercial support available. freescout-db-backup | freescout-db-backup | More Info: https://www.tiredofit.ca freescout-db-backup | freescout-db-backup | 2023-08-27.23:52:53 [NOTICE] ** [container-init] Detected Container that has been restarted - Cleaning '/tmp/.container' files freescout-app | 2023-08-27.16:52:53 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron' freescout-app | 2023-08-27.16:52:54 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'postfix-relay' freescout-db-backup | 2023-08-27.23:52:54 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern' freescout-db-backup | 2023-08-27.23:52:54 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron' freescout-app | head: /www/html/.freescout-version: No such file or directory freescout-app | /etc/cont-init.d/30-freescout: line 48: [: 1.8.94: unary operator expected freescout-app | ln: /www/html/storage/logs: No such file or directory freescout-db-backup | 2023-08-27.23:52:54 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (modern) 6.4.6 freescout-db-backup | 2023-08-27.23:52:54 [STARTING] ** [scheduling] [1] Starting cron freescout-db-backup | 2023-08-27.23:52:59 [INFO] ** [db-backup] Next Backup at 2023-08-28 00:00:00 GMT freescout-app | 2023-08-27.16:52:59 [WARN] ** [freescout] MySQL/MariaDB Server 'freescout-db' is not accessible, retrying.. (5 seconds so far) freescout-app | 2023-08-27.16:53:04 [WARN] ** [freescout] MySQL/MariaDB Server 'freescout-db' is not accessible, retrying.. (10 seconds so far) freescout-app | 2023-08-27.16:53:09 [WARN] ** [freescout] MySQL/MariaDB Server 'freescout-db' is not accessible, retrying.. (15 seconds so far) freescout-db | 2023-08-27.23:53:12 [NOTICE] ** [mariadb] Creating freescout database freescout-db | 2023-08-27 23:53:12 0 [Note] /usr/bin/mysqld (server 10.6.7-MariaDB) starting as process 442 ... freescout-db | 2023-08-27.23:53:13 [NOTICE] ** [mariadb-backup] Disabling scheduled backups freescout-db | 2023-08-27.23:53:13 [STARTING] ** [mariadb] [1] Starting MariaDB 10.6.7 freescout-db | 2023-08-27.23:53:13 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (classic) 6.0.0 freescout-app | 2023-08-27.16:53:14 [WARN] ** [freescout] MySQL/MariaDB Server 'freescout-db' is not accessible, retrying.. (20 seconds so far) freescout-app | 2023-08-27.16:53:14 [INFO] ** [freescout] Generating Configuration freescout-app | sed: -e expression #1, char 1: unknown command: `A' freescout-app | 2023-08-27.16:53:15 [WARN] ** [freescout] Detected empty Database - Setting up - Please wait.. freescout-app | 2023-08-27.16:53:20 [WARN] ** [freescout] Creating Administrative User freescout-app | chmod: storage: No such file or directory freescout-app | ls: /www/html/Modules: No such file or directory freescout-app | 2023-08-27.16:53:20 [WARN] ** [freescout] Running any Database Migrations freescout-app | 2023-08-27.16:53:21 [INFO] ** [freescout] Initialization Complete. Please visit http://freescout.example.com and login with your credentials.. freescout-app | 2023-08-27.16:53:21 [STARTING] ** [nginx] [1] Starting nginx 1.25.2 freescout-app | nginx: [emerg] open() "/www/logs/nginx//access.log" failed (2: No such file or directory) freescout-app | 2023-08-27.16:53:21 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (modern) 6.4.6 freescout-app | 2023-08-27.16:53:21 [STARTING] ** [php-fpm] [1] Starting php-fpm 8.2.8 freescout-app | 2023-08-27.16:53:21 [STARTING] ** [scheduling] [1] Starting cron freescout-app | 2023-08-27.16:53:22 [STARTING] ** [nginx] [2] Starting nginx 1.25.2 freescout-app | nginx: [emerg] open() "/www/logs/nginx//access.log" failed (2: No such file or directory) freescout-app | 2023-08-27.16:53:22 [STARTING] ** [php-fpm] [2] Starting php-fpm 8.2.8 freescout-app | 2023-08-27.16:53:23 [STARTING] ** [nginx] [3] Starting nginx 1.25.2 freescout-app | nginx: [emerg] open() "/www/logs/nginx//access.log" failed (2: No such file or directory) freescout-app | 2023-08-27.16:53:23 [STARTING] ** [php-fpm] [3] Starting php-fpm 8.2.8
sternj commented 1 year ago

Issue was apparently transient and resolved by reinstalling docker. Still concerned about the sed error sed: -e expression #1, char 1: unknown command: 'A' but I can't entirely figure out how to debug that