0
Not a bug

Admin page on 2.0.0 not working

M_le_maudit 3 years ago updated by Tom 3 years ago 7

Hi,

Version 2.0.0 installed and no admin page, the address http://myserver:2203 return to me an "ERR_INVALID_HTTP_RESPONSE"

Not a bug

If you run Ubooquity on a NAS, you'll access the admin page from another machine.

This is forbidden by default for security reasons.


You have to use the --remoteadmin option (I have update the release notes to emphasize this).


Let me know if this fixes your problem.

I had already the flag --remoteadmin :


20170415 17:50:57 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: -1, adminport: -1, remoteadmin: true, host: null, debug: false, execdir: /volume1/Comics

20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - #############################
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - #############################
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_121
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 494 MB
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - OS version: 3.2.40
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - OS architecture: i386
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.0.0 built on 2017-04-15 at 09:21
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170415 17:50:58 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170415 17:51:03 [main] INFO org.eclipse.jetty.util.log - Logging initialized @14013ms to org.eclipse.jetty.util.log.Slf4jLog
20170415 17:51:03 [main] INFO com.ubooquity.a - Starting internal server...
20170415 17:51:03 [main] INFO com.ubooquity.a - Reverse proxy prefix is not activated
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20170415 17:51:03 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20170415 17:51:04 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20170415 17:51:04 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@dcca0c{/,null,AVAILABLE,@admin}
20170415 17:51:04 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@1d84a20{/,null,AVAILABLE,@library}
20170415 17:51:04 [main] INFO o.e.jetty.server.AbstractConnector - Started library@1a34df2{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20170415 17:51:04 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@138c1ec{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
20170415 17:51:04 [main] INFO org.eclipse.jetty.server.Server - Started @14974ms
20170415 17:51:04 [main] INFO com.ubooquity.a - Internal server started. Listening on port 2202 (library) and 2203 (admin)
20170415 17:51:05 [Timer-0] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20170415 17:51:05 [Timer-0] INFO com.ubooquity.Ubooquity - Latest version available: 1.10.1 - Current version: 2.0.0


Sorry, forgot to tell you: the admin page is available at http://myserver:2203/admin

Is it normal for it to disable remote admin every time the server is restarted, regardless of the option chosen in the UI? That's happening to me currently.

No it's not normal.

And I can't reproduce the issue on my side.


Is it the only settings that get reset upon restart ?

How do you launch Ubooquity ? Using the command line or by clicking on the jar ?

Do you you use it in headless mode or with the desktop UI ?

That was the only setting being reset, but it seems to be ok now (weird). I launch it with the Jar using the Desktop UI

I'm glad it's working now. :)