Error messages on fresh Portofino 5 install

41 views
Skip to first unread message

joe.kirch...@gmail.com

unread,
Aug 8, 2023, 9:01:50 AM8/8/23
to manydesigns-portofino
Hi

I am getting error messages with almost everything I try to do in a fresh Portofino 5.3.4 install. I wonder if it has to do with permissions. Or perhaps openjdk is not permitted.

OS: Linux pop-os 6.2.6-76060206-generic (based on ubuntu122.04)
Portofino: 5.3.4

Tomcat Permissions: /opt/portofino-5.3.4/apache-tomcat-9.0.69/ drwxr-xr-x myusername:tomcat

Server: localhost:8080

Java Version: 
openjdk 11.0.20 2023-07-18
OpenJDK Runtime Environment (build 11.0.20+8-post-Ubuntu-1ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.20+8-post-Ubuntu-1ubuntu122.04, mixed mode, sharing)

Note: I also tried tomcat:tomcat and root:root

I have tried starting tomcat under root, tomcat and my own user name.

/opt/portofino-5.3.4 and lower directories are set to drwxr-xr-x

I can log in with admin / admin and run the wizard. However, after running the wizard, I cannot login with my own username. There are two options in the wizard 1) use the user / group and usergroup tables with the requisite fields or 2) skip this. If I use these user / group tables, I cannot log in. If I skip these, I can log in with admin / admin, but if I try to change the password, I get the "Password change failed             OK" error message.

Here are my postgreSQL tables:

users
=====
users                         character varying
password                  character varying
active                         boolean
partner_contact       character varying
email                          character varying
id                                 serial (auto-increment) set as primary key

groups
======
groups             character varying
description     character varying
level                 character varying
id                      serial (auto-increment) set as primary key

usergroup
=========
id                    serial (auto-increment) set as primary key
users             character varying
groups           character varying

For now, I am using "plain text" to see if it works. Once I get it working, I will encrypt the password. Which brings up a question. When I set my password in the database, do I enter it in plain text or first run an encryption protocol and then paste in the encrypted password? I assume the later.

If I try to set up a CRUD page, I get the "Cannot set properties of null (setting 'properties')" error message. This is odd since there is no option to set these properties. When I click on, for example, "Enabled" or any other property under "Properties," nothing happens.

If I go to Upstairs/Actions and select the settings gear icon next to any table name, I get the "Server error" message. If I try the "+" button and try to set a segment and a type (crud), I get the red "error" message with no explanation.

If I look at the logs, I see nothing that would indicate why I am getting these errors. However, if that would be useful to you, please let me know which log you want to see and how many lines I should list.

Thanks for your helpl!

Joe

Alessio Stalla

unread,
Jan 24, 2024, 10:11:31 AM1/24/24
to manydesign...@googlegroups.com
Hey Joe,

I know this email of yours is way past due, but I missed it when you sent it to the list.
User management is one of the oldest and clunkiest parts of Portofino, with ties to Portofino 3's user and roles tables. It's very flexible, but also easy to misconfigure, and the wizard doesn't do a great job to ensure that you aren't left cut out of the application.

The other errors you got look like bugs, so I'll investigate them. If you have additional information, please let me know.

Thanks for evaluating Portofino, and again, sorry for replying so late.
Alessio

--
You received this message because you are subscribed to the Google Groups "manydesigns-portofino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to manydesigns-port...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/manydesigns-portofino/437ce405-50a3-4b1a-ba32-7bf5f707bfd1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages