Webtop admin / admin entry. White screen

I have uninstalled, installed, deleted, reinstalled etc …

But I get nothing.

When entering with user no problem but when entering as admi / admin the screen goes blank.

2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.extJsDebug = false
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.soExtDevMode = false
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.devMode = true
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.debugMode = false
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.schedulerSisabled = false
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.webappsConfigPath = null
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization started [webtop]
2017-05-29 21:18:07 [INFO ] c.s.w.core.app.ConnectionManager - ConnectionManager initialized
2017-05-29 21:18:07 [INFO ] c.s.webtop.core.app.SettingsManager - SettingsManager initialized
2017-05-29 21:18:07 [INFO ] c.s.webtop.core.app.SessionManager - SessionManager initialized
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking home structure...
2017-05-29 21:18:07 [INFO ] c.s.webtop.core.app.I18nManager - I18nManager initialized.
2017-05-29 21:18:07 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Initializing template engine
2017-05-29 21:18:08 [INFO ] c.sonicle.webtop.core.app.LogManager - LogManager initialized.
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.WebTopManager - WebTopManager initialized
2017-05-29 21:18:08 [INFO ] c.sonicle.webtop.core.app.OTPManager - OTPManager initialized
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ReportManager - ReportManager initialized.
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.7] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Database upgrades will be appended to 1496085488208
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core.admin]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:false]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.7] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.calendar]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:false, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.2] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.contacts]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.1] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.mail]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.8] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.tasks]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.1] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.vfs]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:false, userOptions:true]
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - Upgraded! [X.X.X -> 5.0.2] Updating version setting...
2017-05-29 21:18:08 [INFO ] c.s.webtop.core.app.ServiceManager - ServiceManager initialized
2017-05-29 21:18:08 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Admin session created [d7fba60d-ba1e-4cda-9bf1-7570ec67fd81]
2017-05-29 21:18:08 [INFO ] c.sonicle.webtop.core.app.WebTopApp - adminTouch task scheduled [1620sec]
2017-05-29 21:18:08 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization completed [webtop]
2017-05-29 21:18:13 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking domains homes structure...
2017-05-29 21:18:13 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking webapp version...
2017-05-29 21:18:13 [WARN ] c.sonicle.webtop.core.app.WebTopApp - No configuration found for TomcatManager [tomcat.manager.uri]
2017-05-29 21:18:13 [WARN ] c.sonicle.webtop.core.app.WebTopApp - Webapp version automatic check will NOT be performed!
2017-05-29 21:18:13 [INFO ] c.sonicle.webtop.core.app.WebTopApp - This webapp [webtop] is the latest
2017-05-29 21:18:13 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Scheduling JobServices tasks...
2017-05-29 21:26:55 [ERROR] c.s.webtop.core.app.ServiceManager - PrivateService: initialize() throws errors [com.sonicle.webtop.core.admin.Service]
java.lang.ClassCastException: com.sonicle.webtop.core.CoreManager cannot be cast to com.sonicle.webtop.core.admin.CoreAdminManager
	at com.sonicle.webtop.core.admin.Service.initialize(Service.java:117)
	at com.sonicle.webtop.core.app.ServiceManager.instantiatePrivateService(ServiceManager.java:779)
	at com.sonicle.webtop.core.app.WebTopSession.internalInitPrivateEnvironment(WebTopSession.java:402)
	at com.sonicle.webtop.core.app.WebTopSession.initPrivateEnvironment(WebTopSession.java:320)
	at com.sonicle.webtop.core.servlet.Start.processRequest(Start.java:89)
	at com.sonicle.webtop.core.app.AbstractServlet.doGet(AbstractServlet.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
2017-05-29 21:26:55 [ERROR] c.sonicle.webtop.core.servlet.Start - Error
com.sonicle.webtop.core.sdk.WTRuntimeException: Cannot add private service twice
	at com.sonicle.webtop.core.app.WebTopSession.cachePrivateService(WebTopSession.java:565)
	at com.sonicle.webtop.core.app.WebTopSession.internalInitPrivateEnvironment(WebTopSession.java:405)
	at com.sonicle.webtop.core.app.WebTopSession.initPrivateEnvironment(WebTopSession.java:320)
	at com.sonicle.webtop.core.servlet.Start.processRequest(Start.java:89)
	at com.sonicle.webtop.core.app.AbstractServlet.doGet(AbstractServlet.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Did you change SSL ? I had the issue when was trying to install wildcard SSL.

No the ssl is the default

Sorry for the late response, have you been to workaround the issue?

No. I continue with the same problem.

@webtop_team any clue on this? What logs do you need to inspect the problem?

I want to ping the @webtop_team again on that.

Hi @jose_manuel_Insausti,
sorry for the delay in my answer …

The problem I actually came to was only trying to log on with the system admin (NethServer Administrator) and not with the webtop admin.
To be understood by username = admin@dominio.ext

It may happen that you miss the value in the email field on the db that prevents the login step.
In this case, to solve, just run these commands:

su - postgres -c 'psql webtop5'

UPDATE "core".users_info SET email = concat('admin@', (SELECT internet_name FROM "core".domains WHERE (domain_id = 'NethServer'))) WHERE (users_info.domain_id = 'NethServer') AND (users_info.user_id = 'admin');

systemctl restart tomcat@webtop

Do you know if this is the problem and if that resolves?

1 Like

I have the same issue. When entering with admistrator@domain.tld I get a white page with nothing.

EDIT:
After I set a new admin (webtop) password, I can’t login with the administrator@domain.tld anymore.
I can login with user@domain.tld, admin@domain.tld and admin without @ , but not as administrator.

Try looking at what Luca said: the core.users_info table shouldn’t have a null email.

unfortunately this is the result: :scream:

…and then restart tomcat :wink:

Oh, I did that allready. :slight_smile:
Also restarted the machine, removed webtop and reinstalled it.

[root@nethserver ~]# systemctl status tomcat@webtop
● tomcat@webtop.service - Apache Tomcat Web Application Container
   Loaded: loaded (/usr/lib/systemd/system/tomcat@.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2017-06-22 16:08:46 CEST; 6min ago
  Process: 1943 ExecStop=/usr/libexec/tomcat/server stop (code=exited, status=0/SUCCESS)
 Main PID: 1985 (java)
   CGroup: /system.slice/system-tomcat.slice/tomcat@webtop.service
           └─1985 java -server -Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev...

Jun 22 16:08:54 nethserver.jeckel.lan server[1985]: Jun 22, 2017 4:08:54 PM org.apache.catalina.startup.TldConfig...cute
Jun 22 16:08:54 nethserver.jeckel.lan server[1985]: INFO: At least one JAR was scanned for TLDs yet contained no ...ime.
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: Jun 22, 2017 4:08:57 PM org.apache.catalina.startup.HostConfi...tory
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: INFO: Deployment of web application directory /var/lib/tomcat...8 ms
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: Jun 22, 2017 4:08:57 PM org.apache.coyote.AbstractProtocol start
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: INFO: Starting ProtocolHandler ["http-bio-58080"]
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: Jun 22, 2017 4:08:57 PM org.apache.coyote.AbstractProtocol start
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: INFO: Starting ProtocolHandler ["ajp-bio-58009"]
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: Jun 22, 2017 4:08:57 PM org.apache.catalina.startup.Catalina start
Jun 22 16:08:57 nethserver.jeckel.lan server[1985]: INFO: Server startup in 9502 ms

But still the same.

EDIT:

Strated from scratch. Now webtop is reachable again.
So on a plain machine with local AD as account-provider the created users are working, admin is working, but the administrator isn’t working. I get a authentication failed. But credentials are working on GUI.

I think I’ve reproduced the problem.

I installed NS7 on a new machine
I installed webtop5

I have entered and changed the admin / admin password

Everything ok

I installed a local AD
Active admin user.

On entering the webtop5 with admin / newpassword the blank window appears

1 Like

Hi @jose_manuel_Insausti,

I’ve done the same sequence you described but failed to replicate the problem.
Can you try to install the local AD account before installing WebTop 5?

Hi,

I also have the admin/newpassword white screen problem on a fully updated NethServer 7.3. AD Users can login to Webtop without problems.

Is there a way to reset the webtop admin password? I changed the secret field in the db and now I can’t even get to the white screen…

Yes, I changed my certificate, how did you solve it?

Hi @mrmarkuz,

to reset your admin password to default you can use this update on db webtop5:

su - postgres -c 'psql webtop5'

UPDATE "core"."local_vault" SET "password_type"='PLAIN', "password"='admin' WHERE ("domain_id"='*') AND ("user_id"='admin');
1 Like

Thank you @lucag,

now I can see my admin white screen after login again.
I hope @wahmed has a solution for the white screen problem because I changed the certificate.

EDIT:
I uninstalled Webtop 5 via Software center. Then I changed the name of the webtop db to wt_backup. Then I removed Webtop packages with

yum remove *webtop*

Reinstalled webtop, new database, same problem, admin white screen.

The errors in webtop.log:

2017-09-23 10:41:34 [ERROR] c.s.webtop.core.app.ServiceManager - PrivateService: initialize() throws errors [java.lang.ClassCastException: com.sonicle.webtop.core.CoreManager cannot be cast to com.sonicle.webtop.core.admin.CoreAdminManager]
2017-09-23 10:41:34 [ERROR] c.sonicle.webtop.core.servlet.Start - Error
com.sonicle.webtop.core.sdk.WTRuntimeException: Cannot add private service twice

I saw, there a more threads where this problem occured, but not solved:


Hi,

I was able to resolve the white screen problem with backup/restore procedure. I made a config/data backup even if I already had the white screen. Then I installed from Scratch (7.3.1611, same as backup), did the restore procedure and after that, I could login to Webtop as admin/admin again, set a new password and had no blank page anymore.

Added to the README:

1 Like