Skip to content

Applying patches fails due to missing web_usr role in Postgres database #3

@nickpalladino

Description

@nickpalladino

I tried applying patches with

./run_all_patches.pl -u postgres -p postgres -h breedbase_docker_db -d vitisbase -e nickpalladino

on the postgres_dockerfile image and it failed due to not having the web_usr role defined. In the SQL for some of the patches it is doing things like:

grant select,insert,delete on table phenome.project_md_image to web_usr;

I created a web_usr role in the database manually and was able to get the patches to run. However, I'm not sure what the correct options should be for the role. Here is what I did:

CREATE ROLE web_usr NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT NOLOGIN;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions