Running Liferay 6.2 CE on Tomcat 8.0.20, on two different environments.
On one environment, the dockbar has recently ceased appearing on the top of my Liferay portal when logged as admin. Also, trying to access the Liferay control panel directly with the URL takes me to a "not found" page.
I wonder if it could be a user-administration problem, for a few reasons:
The "portal-normal.vm" Velocity file in my theme contains the portion of code which rules the inclusion of the dockbar:
#if ($is_signed_in && $permissionChecker.isOmniadmin())
#dockbar()
#end
I found out that when logging as admin, $permissionChecker.isOmniadmin() returns "false", which doesn't look normal to me (but maybe I'm wrong?).
Please, is there a way to fix this?
EDIT 2018/09/07: I also posted an updated version of that post in the Liferay Community forums. Sorry for cross-posting - these are my first steps on Stack Overflow, I'll be more cautious from now on.
https://community.liferay.com/forums/-/message_boards/message/110891530
It was a data issue. By querying the Users_Roles tables in the DB, I found out that for some unclear reason, the "admin" user actually had only a "User" role, missing the "Administrator" and "Power user" roles that it should have had. Without any other "Administrator" user account, I corrected that anomaly in an unrecommended way - by inserting the missing roles into the Users_Roles table (with the application server temporarily shut down, of course). So far, everything seems to have gotten back to normal, so I guess that counts as a solution.