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

QNAP - HTTP Status 404 – Not Found #654

Closed
Empulakcz opened this issue Apr 26, 2023 · 6 comments
Closed

QNAP - HTTP Status 404 – Not Found #654

Empulakcz opened this issue Apr 26, 2023 · 6 comments

Comments

@Empulakcz
Copy link

Hello,

may i kindly ask for support. I´ve installed the package unifi from the README on page https://hub.docker.com/r/jacobalberty/unifi . I did not use a GUI on QNAP but i went directly through SSH and ran all docker commands to deploy the image.

After starting a docker there is a problem once i visited a 8443 port: HTTP Status 404 - Not Found.

PS: My friend is running it with no problem with the same QNAP model. Which is BTW ARM32 architecture.

So i went to the logs:

[2023-04-26T17:02:06,106] INFO db - Connecting to mongodb://localhost:27117
[2023-04-26T17:02:06,110] INFO db - DbServer stopped
[2023-04-26T17:02:10,140] INFO db - DbServer stopped
[2023-04-26T17:02:14,173] INFO db - DbServer stopped
[2023-04-26T17:02:18,240] INFO db - DbServer stopped
[2023-04-26T17:02:22,273] INFO db - DbServer stopped
[2023-04-26T17:02:26,304] INFO db - DbServer stopped
[2023-04-26T17:05:04,673] INFO tomcat - Adding basic REST API support during the startup
[2023-04-26T17:05:08,033] INFO system - Tomcat startup took 6995ms
[2023-04-26T17:05:08,037] INFO db - Version 7.3.83 has not changed, skipping migration
[2023-04-26T17:05:08,107] INFO tomcat - Adding basic REST API support during the startup
[2023-04-26T17:05:25,518] INFO db - waiting for db connection...
[2023-04-26T17:05:26,994] INFO db - DbServer stopped
[2023-04-26T17:05:31,049] INFO db - DbServer stopped
[2023-04-26T17:05:35,072] INFO db - DbServer stopped
[2023-04-26T17:05:39,101] INFO db - DbServer stopped
[2023-04-26T17:05:43,137] INFO db - DbServer stopped
[2023-04-26T17:05:47,167] INFO db - DbServer stopped
[2023-04-26T17:05:51,196] INFO db - DbServer stopped
[2023-04-26T17:05:55,223] INFO db - DbServer stopped
[2023-04-26T17:05:59,252] INFO db - DbServer stopped
[2023-04-26T17:06:03,298] INFO db - DbServer stopped
[2023-04-26T17:06:07,331] INFO db - DbServer stopped
[2023-04-26T17:06:11,361] INFO db - DbServer stopped
[2023-04-26T17:06:15,386] INFO db - DbServer stopped
[2023-04-26T17:06:19,416] INFO db - DbServer stopped
[2023-04-26T17:06:23,441] INFO db - DbServer stopped
[2023-04-26T17:06:27,470] INFO db - DbServer stopped
[2023-04-26T17:06:31,505] INFO db - DbServer stopped
[2023-04-26T17:06:35,537] INFO db - Connecting to mongodb://localhost:27117
[2023-04-26T17:06:35,547] INFO db - DbServer stopped
[2023-04-26T17:06:39,585] INFO db - DbServer stopped
[2023-04-26T17:06:43,627] INFO db - DbServer stopped

Also i found some terminal message in docker GUI on QNAP later:

023/04/26 17:59:17 Chown 999:999 /unifi
[2023-04-26 17:59:17,273] Starting unifi controller service.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/lib/unifi/lib/tomcat-embed-core-9.0.59.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

May i ask what i am doing wrong?

Thanks,

Dominik

@mashbrno
Copy link

Same result in browser, but different logs while running on x64 Synology:

[2023-04-28 04:27:19,493] <docker-entrypoint> Exit signal received, shutting down
[2023-04-28 06:28:09,393] <docker-entrypoint> Starting unifi controller service.
[2023-04-28 06:28:11,554] <docker-entrypoint> Exit signal received, shutting down
[2023-04-28 06:28:41,772] <docker-entrypoint> Starting unifi controller service.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/lib/unifi/lib/tomcat-embed-core-9.0.59.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

@fourg
Copy link

fourg commented Apr 29, 2023

I'm seeing the same container log output as @mashbrno running image jacobalberty/unifi:latest in Docker version 23.0.3, build 3e7cbfd on Ubuntu 22.

@Southsailing
Copy link

Hello, I'm new here but I have the same problem after installing the jacobalberty/unifi:latest image. The image is running in a Docker on a Qnap

[2023-05-05 13:45:27,821] Starting unifi controller service.
[2023-05-05 13:45:27,824] WARNING: Running UniFi in insecure (root) mode
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/lib/unifi/lib/tomcat-embed-core-9.0.59.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

@Empulakcz
Copy link
Author

It seems nobody give a shit about our problem :-D

@MrNewgarden
Copy link

Got the same issue, trying to run in Azure container instances..

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants