sidebar
Zend Server 7, 8 or later (reinstall / upgrade)
Admin UI Login Screen
In normal Zend Server workflows, once a new setup has been launched successfully, a new Administrator user is generated with an initial password and login is enabled.
This article should help in case the users list in the Zend Server Admin UI becomes empty or malformed, most probably after a version upgrade / downgrade to Zend Server (or reinstall of the same version after problems).
As a result of an empty users table, you cannot select a user (Admin / Developer) and normal login is not possible.
Open root console, or run the following with 'sudo <command>'.
1. Backup GUI DB
2. Check Existing Users
Important! Record any output which is NOT EMPTY for reference!
Note: If you get results (users)
we are going to delete any user we find to flush this table:
# sqlite3 /usr/local/zend/var/db/gui.db "delete from GUI_USERS;"
3. Insert Admin User (password: zend)
4. If you need a Developer user (password: zend)
5. Extra Step securing passwords!!!
This is critical if Zend Server is not private or local, and users can try to access it without permissions.
You can also modify the passwords once you login to the Admin UI, under Administration -> Users (you need to provide existing password and the new password).
TBD (we don't have reports yet on Windows missing GUI users, however the flow is exactly the same, without using SQLite3 but some other SQLite v.3 client editor for Windows)