New install sql errors #50
Replies: 2 comments 3 replies
-
Did you use the included install script? This looks like you're either missing the schema or migrations file. |
Beta Was this translation helpful? Give feedback.
-
I must be doing something wrong somewhere. Im still having problems getting the database working, I have tried installing on ubuntu22.04 and also a full reinstall in windows, both installs are the same issues. I have images going in to the storage directories but the ui is completley blank. I have removed docker and removed the database to pull a fresh, but still the same blank dashboard. Im now stuck, any help would be greatly appreciated. Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi I have a brand new install in windows, and im getting the following errors regarding the database with no data at all.
Issues Identified from Logs:
PostgreSQL Failing to Start Initially
The error /var/run/postgresql:5432 - no response suggests that PostgreSQL wasn't responding initially.
Later logs confirm that the database eventually started, but it may have required multiple restart attempts.
Relation "devmgmt" Does Not Exist
ERROR: relation "devmgmt" does not exist at character 13
This suggests that a table named devmgmt is missing but is referenced in SQL queries.
It appears that the migration scripts assume the table exists but it was either not created or deleted.
Role "root" Does Not Exist
FATAL: role "root" does not exist
The database is likely expecting a root user that has not been created.
PostgreSQL typically does not use root; it uses postgres by default.
If your application is trying to connect as root, update the credentials or create the user:
Column Value Too Long
ERROR: value too long for type character varying(10)
The error suggests that a value being inserted into a VARCHAR(10) column is longer than 10 characters.
The affected column is plate_number in the plates table.
Any help in resolving these issues would be appreciated.
Regards,
Mark.
Beta Was this translation helpful? Give feedback.
All reactions