Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL error: role "rosariosis" does not exist #2

Open
francoisjacquet opened this issue Sep 26, 2021 · 2 comments
Open

SQL error: role "rosariosis" does not exist #2

francoisjacquet opened this issue Sep 26, 2021 · 2 comments

Comments

@francoisjacquet
Copy link

In the install.sql file, you have commands to set owner.

But in case the rosariosis user does not exist, this generates an error: role "rosariosis" does not exist.

https://github.com/DocStem/ParentAttendance/blob/main/install.sql#L114

These commands are not useful and can be safely removed.

Same applies(but not limited) to:

https://github.com/DocStem/CustomReportCards-master/blob/master/install.sql#L353

https://github.com/DocStem/LunchReport-master/blob/master/install.sql#L111

@DocStem
Copy link
Owner

DocStem commented Sep 27, 2021 via email

@francoisjacquet
Copy link
Author

Rosariosis user did exist in the past. I have kept my database to that ownership. You have since changed it I believe to rosario or something like that.

The user which exists is only the user you create when installing RosarioSIS. You can choose whatever name you like.

Please refer to the INSTALL.md file:
https://gitlab.com/francoisjacquet/rosariosis/-/blob/mobile/INSTALL.md#database

postgres=# CREATE USER rosariosis_user WITH PASSWORD 'rosariosis_user_password';

Here as you can see, it is called rosariosis_user, not rosariosis or rosario. And this is just a suggestion, not an obligation.

Anyway, as stated, you can safely remove those SQL commands. Please try without them and let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants