Closed CosmicWebCreator closed 4 months ago
can you check if the file public/index.html exists in your container? it may need to be removed.
can you check if the file public/index.html exists in your container? it may need to be removed.
I am using the default nginx and invoice ninja provided in this repo behind traefik. It used to work well both in debug mode and react mode. However, I updated recently and now I can only access it via debug mode. React shows the above error.
Which container should I check the index.html be present in? Nginx?
@CosmicWebCreator within the app container
if public/index.html exists, can you remove it please and restart the container.
alternatively, if you preference index.php in front of index.html in your nginx config this should also achieve the same thing
if you preference index.php in front of index.html in your nginx config this should also achieve the same thin
so there was a index.html and i did remove it . The error is still present.
Weird thing is that i can connect to it via the desktop app or via the client portal ... just the /dashboard that is a blank screen. Nothing to report within the container
172.18.0.37 - 18/Jul/2024:00:16:31 +0000 "GET /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:33 +0000 "GET /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:33 +0000 "POST /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:42 +0000 "POST /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:46 +0000 "GET /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:47 +0000 "GET /index.php" 200 172.18.0.37 - 18/Jul/2024:00:16:47 +0000 "POST /index.php" 200 INFO No scheduled commands are ready to run. 172.18.0.37 - 18/Jul/2024:00:17:05 +0000 "GET /index.php" 200 INFO No scheduled commands are ready to run.
I am using the default provided in-vhost.conf
debugging a bit further, using the same browser but with a different user works and works in incognito. However, I cleared all my site data and still can not see /dashboard after sign in.... Not sure what could cause this if it is working via other users on the same computer. No extensions nothing.
im going to close this since i don't believe it is a defect from this repo but something around the browser/app data
Setup information
docker-compose
Describe the bug Unable to load admin page. Error on manifest.json
To reproduce Steps to reproduce the behavior:
GET https://invoice.domain.com/manifest.json 403 (Forbidden)Understand this error manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.Understand this error bundle.js:56 TypeError: Cannot read properties of undefined (reading 'includes') at pRt (bundle.js:681:540) at zde (bundle.js:54:19642) at M3e (bundle.js:56:44387) at R3e (bundle.js:56:40075) at Cdt (bundle.js:56:39998) at nB (bundle.js:56:39847) at Ste (bundle.js:56:36177) at BCe (bundle.js:56:36987) at Uw (bundle.js:54:3312) at bundle.js:56:34485
4- enable debugging 5- app works in debugging but not in web mode (react)Expected behavior should load the admin page
Screenshots/logs
no errors really in the logs, mostly 200
INFO No scheduled commands are ready to run. 172.18.0.37 - 17/Jul/2024:23:03:30 +0000 "GET /index.php" 200 172.18.0.37 - 17/Jul/2024:23:03:31 +0000 "GET /index.php" 200 172.18.0.37 - 17/Jul/2024:23:03:31 +0000 "POST /index.php" 200
``
Docker/Kubernetes/Helm:
Docker version 27.0.3, build 7d4bcd8