tiredofit / docker-invoiceninja

Dockerized invoicing web application
MIT License
14 stars 3 forks source link

Blank screen on a new install with Display errors true #12

Open gurumark opened 2 weeks ago

gurumark commented 2 weeks ago

I get a blank screen when I run the following. The logs does not show any error or warning. The database tables are created.

.......... Image: tiredofit/invoiceninja | Version 1.0.124 Type 'image_changelog' for details Repository/Documentation: https://github.com/tiredofit/docker-invoiceninja/ License: MIT | © 2024 Dave Conroy

If this image provides you value - Consider sponsoring my work for continued development, timely updates, and feature requests. Commercial support available.

                More Info:  https://www.tiredofit.ca

2024-08-28.09:40:43 [NOTICE] [timezone] Timezone: Setting to 'America/New_York' from 'Etc/GMT' 2024-08-28.05:40:44 [NOTICE] [monitoring] Container configured for monitoring with 'zabbix modern' 2024-08-28.05:40:44 [NOTICE] [scheduling] Container configured for scheduled tasks with 'cron' 2024-08-28.05:40:44 [NOTICE] [messaging] Container configured to route mail via SMTP to 'postfix-relay' 2024-08-28.05:40:46 [NOTICE] [php-fpm] Creating sample index.php 2024-08-28.05:40:48 [WARN] [invoiceninja] Potential New Installation / Standalone Installation Detected - Copying Invoice Ninja Sourcecode 2024-08-28.05:42:05 [INFO] [invoiceninja] Generating Configuration for the first time 2024-08-28.05:42:13 [INFO] [invoiceninja] Initialization Complete. Please visit https://REDACTED and login with your credentials.. 2024-08-28.05:42:14 [STARTING] [nginx] [1] Starting nginx 1.27.0 2024-08-28.05:42:14 [STARTING] [php-fpm] [1] Starting php-fpm 8.2.22 2024-08-28.05:42:14 [STARTING] [monitoring] [1] Starting Zabbix Agent (modern) 7.0.2 2024-08-28.05:42:14 [STARTING] [scheduling] [1] Starting cron

................

docker run -d \ --ip 172.18.0.134 \ -p 172.18.0.1:8034:80 \ --name inv.REDACTED \ --net emdnet \ --log-opt max-size=10m \ --log-opt max-file=3 \ --restart=unless-stopped \ -e "DB_HOST=REDACTED" \ -e "DB_NAME=invoiceninjadb" \ -e "DB_USER=REDACTED" \ -e "DB_PASS=REDACTED" \ -e "SITE_URL=https://inv.REDACTED" \ -e "ADMIN_EMAIL=REDACTED" \ -e "ADMIN_PASS=invoiceninja" \ -e "ENABLE_SSL_PROXY=TRUE" \ -e "APP_KEY=REDACTED" \ -e "DISPLAY_ERRORS=TRUE" \ -e "VIRTUAL_HOST=REDACTED" \ -e "VIRTUAL_PORT=80" \ -e "CERT_NAME=REDACTED" \ -e "TIMEZONE=America/New_York" \ tiredofit/invoiceninja:1.0.124

gurumark commented 2 weeks ago

I turned the DEBUG on, now I see:

........ Then I tried to remove the storage directory and recreate it running the command: sudo -u nginx php artisan storage:link Now I get: 500 — Server Error Check storage/logs for more details on the screen instead of a blank screen.

gurumark commented 2 weeks ago

I ran the following but it still shows the blank page and not error: php artisan config:cache

[tiredofit/invoiceninja:1.0.124 10:21:38 /www/html] $ php artisan cache:clear