Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kein Zugriff auf Weboberfläche #58

Closed
Raczka1989 opened this issue Apr 24, 2024 · 1 comment
Closed

Kein Zugriff auf Weboberfläche #58

Raczka1989 opened this issue Apr 24, 2024 · 1 comment

Comments

@Raczka1989
Copy link

Hallo ich habe mir den Datalogger auf meinem Synnas Installiert über Docker aber das Problem is das ich kein Zugriff auf die Weboberfläche habe kann mir jemand weiterhelfen?
Diese Meldung kommt sobald ich darauf zugreifen will im Terminal
iddatalogger_web | [Tue Apr 23 20:47:16.300030 2024] [php:warn] [pid 16] [client 172.18.0.1:49354] PHP Warning: Unknown: Failed to open stream: Permission denied in Unknown on line 0
iddatalogger_web | [Tue Apr 23 20:47:16.300052 2024] [php:error] [pid 16] [client 172.18.0.1:49354] PHP Fatal error: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/local/lib/php') in Unknown on line 0
iddatalogger_web | 172.18.0.1 - - [23/Apr/2024:20:47:16 +0000] "GET / HTTP/1.1" 500 211 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
iddatalogger_web | 172.18.0.1 - - [23/Apr/2024:20:47:22 +0000] "GET /vwid HTTP/1.1" 404 495 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"

@robske110
Copy link
Owner

Just for visibility, this was resolved on the forum with the following commands:
[CODE]
cd /path/to/IDDataLogger
chmod -R a=r,u+w,a+X ./public/
cd docker
docker-compose build web
docker-compose up
[/CODE]
The existing permissions in the build environment matter, because the COPY command (used here) copies the permissions into the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants