Skip to content

please provide a valid cache path #75

@MiCoSa79

Description

@MiCoSa79

Issue filing pre-requisites

  • I've checked the documentation.
  • I've looked for similar issues both Open and Closed.
  • Ive tried clearing both cache and cookies in my browser or tried opening the app in the Incognito/InPrivate window.

Describe the bug

I try to install Invoiceshelf on ZimaOS using nginx as reverse proxy.

After installtion i get the following in the logfile:

invoiceshelf | ℹ️ Container Information
invoiceshelf | -------------------------------------
invoiceshelf |
invoiceshelf | OS: Alpine Linux v3.22
invoiceshelf | Docker user: www-data
invoiceshelf | Docker uid: 82
invoiceshelf | Docker gid: 82
invoiceshelf | OPcache: ✅ Enabled
invoiceshelf | PHP Version: 8.3.25
invoiceshelf | Image Version: v3.6.0-17759140407
invoiceshelf |
invoiceshelf | ℹ️ NOTICE (init-webserver-config): /etc/nginx/nginx.conf already exists, so we'll use the existing file.
invoiceshelf | ℹ️ NOTICE (init-webserver-config): /etc/nginx/site-opts.d/http.conf already exists, so we'll use the existing file.
invoiceshelf | ℹ️ NOTICE (init-webserver-config): /etc/nginx/site-opts.d/https.conf already exists, so we'll use the existing file.
invoiceshelf | ℹ️ NOTICE (init-webserver-config): /etc/nginx/conf.d/default.conf already exists, so we'll use the provided configuration.
invoiceshelf | Checking for Laravel automations...
invoiceshelf | 🚀 Clearing Laravel cache before attempting migrations...
invoiceshelf |
invoiceshelf | In Compiler.php line 75:
invoiceshelf |
invoiceshelf | Please provide a valid cache path.
invoiceshelf |
invoiceshelf |

when trying to reach the initial setup page, i get 502 bad gateway message.

What could be the issue?

What is the correct setting for APP_URL, SESSION_DOMAIN and SANCTUM_STATEFUL_DOMAINS?

Is it:

APP_URL: https://mysubdomain.mydomain.tld
SESSION_DOMAIN: mysubdomain.mydomain.tld
SANCTUM_STATEFUL_DOMAINS: mysubdomain.mydomain.tld

Any ports needed here?

Thanks for your help.

Steps to Reproduce the issue

Installed invoiceshelf using the docker compose file for mariadb

Expected behavior

I should be able to resch the initial setup page

Actual behavior

I am not able to reach the initial setup page.

InvoiceShelf version

nightly

Database type

mariadb

Database version

10

Web Browser

chrome

Server OS

ZimaOS

Reverse-proxy logs


Laravel/PHP/Container logs

see above

Other logs


Metadata

Metadata

Labels

bugSomething isn't workingtriageWaiting for triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions