Hi,
Tonight my server with nethserver 6.5 had some problem. Yesterday everything worked.
This morning the samba server not authenticated the user. To resolve the problem i had to reassign the (old) password to every(!) user and restart the smb server. Restarting smb server without reassign password not worked.
What could have happened ?
Another problem was phpmyadmin. The admin access that yesterday worked fine, today doesn’t work ! I checked the password… and the password was fine… i have re-installed nethserver-phpmyadmin package but admin access keep not working.
The only way to have phpmyadmin working was enable multi-user access.
Phpmyadmin config:
access = private
adminaccess = enable
multiacces = enable
What i have to do to get back phpmyadmin admin access working ?
The user “admin” of mysql server has a different password than a “root” user of the entire server.
Until yesterday i opened https://myserver/phpmyadmin and use the credential: User: “admin” , Password: “admin MYSQL USER password”. And all worked fine. Now it won’t work
The “root” user isn’t related to the “admin” user of mysql/phpmyadmin… isn’t it ?
In fact for old compatibility reasons often i password protect a web application by a user called ‘admin’ which is less used now in neth.
Indeed with ns6.6 you use the root user to access to the server-manager now.
What i don’t understand is the password you used to access the phpmyadmin module…it should be related to the admin user you used in ns6.5 to log in the server-manager.
Like philipo noticed it you should look to the httpd error log but i guess i know the reason.
Try to solve first your problem of password with the user admin…can you log in with this user in the server-manager ?
Yes i can log in the server manager using User: root, Password: root password
The password of root user wasn’t lost, otherwise i couldn’t change other user samba password.
I use nethserver 6.5
P.s. The demo on docker is broken. Login not work for user root with passoword: 1234 or Nethesis
I never created a user “admin”. Is the user “admin” created during the setup of nethserver ?
I never used “admin” as user to login in the server-manager dashboard… i use always root user for the server-manager.
“admin” is a user that only exist on mysql server that can manage some databases… root user on mysql server can manage all databases.
The password of “admin” user on mysql is the same there was before the crash. I have checked it after the issue to the server.
I will check a list of the nethserver user
The user admin was completely lost.
After a backup i disinstalled and reinstalled the file server package. After that the user “admin” reappeared in the list of the user.
Now everything works.
A question for the developer:
If i have some share forlder and disinstall and reinstall the file server package, it recognizes the presence of the old shared folder or i have to recreate it by the dashboard ?
This is the most important thing !
Combined to fact that if Accounts DB is corrupted or deleted and the directory exist the file server doesn’t delete the folder if already exist when from the dashboard the user require to create a directory with the same name. Should work this way… isn’t it ?