BUT: I was able to see main menu only first time when I was logged as mysql user.
After clicking on save (after adding admin user), mainj menu got lost.
Using Firefox 112, cleared complete Cache, not using proxy.
What would it be?
If I use http://node:8080/art/settings directly, I see form.. Same for /users, etc entries (I have to guess what to add).
Regards.
P.S. I use old art 3, and that is how I can guess all configuration options. See attached image for old art menu
User ID 0 is my mistake (before I have open this thread, I have added admin user manually -- anyway, I am planning to throw away this container and create new one!)
We can consider this solved (maybe to add into documentation "Public User" option note, just for other users)
Thanks again.
Last edit: Predrag Zečević 2023-04-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have created new instance, with own MySQL database.
Connection to DB from command line from node works (checked).
DB string is defined properly in
webapps/art/WEB-INF/work/art-database.json
file:Tomcat 9.0.73 is configured and running (deployed art-7.3/art.war)
DB Schema imported:
Yet, accessing http://node:8080/art shows no Configure option (see attached image).
How can I create admin user (error from title is shown when I have tried to use admin/admin user)?
Regards.
Last edit: Timothy Anyona 2023-04-27
The admin/admin user exists in the demo hsqldb database and is not contained in the art-tables.sql script.
What you can do is login using the database credentials e.g. root user and password. After that you should be able to create an admin user or role.
Thanks! That has worked.
BUT: I was able to see main menu only first time when I was logged as mysql user.
After clicking on save (after adding admin user), mainj menu got lost.
Using Firefox 112, cleared complete Cache, not using proxy.
What would it be?
If I use http://node:8080/art/settings directly, I see form.. Same for /users, etc entries (I have to guess what to add).
Regards.
P.S. I use old art 3, and that is how I can guess all configuration options. See attached image for old art menu
Last edit: Predrag Zečević 2023-04-27
Could you post a screenshot of the menu you have when logged in as the admin user?
Hi, sure (just w/o real host name).
So, log-in screen (http://node:8080/art/login) let me log-in as admin user, and then redirects to http://node:8080/art/reports (see attached image).
Regards.
OK. Was interested in the main menu, the one with reports, language etc, but it's ok.
Login as the root user, and then edit this admin user and confirm which Roles he has.
That is problem ("OK. Was interested in the main menu, the one with reports, language etc, but it's ok."): there is NO MAIN menu
Regarding roles, it shows (see image art-admin-user-screen, http://node:8080/art/editUser?id=0)
Last edit: Predrag Zečević 2023-04-27
Please deactivate the Public User option. That is likely why there is no main menu.
I also see the user id is 0, which is odd. Not sure if the record was created or amended in the database.
Thanks,! So:
We can consider this solved (maybe to add into documentation "Public User" option note, just for other users)
Thanks again.
Last edit: Predrag Zečević 2023-04-27