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

Error following the installation guide #258

Open
majazaloznik opened this issue Sep 20, 2022 · 1 comment
Open

Error following the installation guide #258

majazaloznik opened this issue Sep 20, 2022 · 1 comment

Comments

@majazaloznik
Copy link
Contributor

Following the installation guide (and including the grant access in pull request #257), I'm getting the following error to the line db_ts_store(con, tsl).

Error in store_records(con, to_ts_json(x), access, "timeseries_main",  : 
No access level supplied and no default configured on the database.
@majazaloznik
Copy link
Contributor Author

Aha, this seems to be because the timeseries.access_levels table is not populated during installation, but if I run the lines from the dev environment setup, it works:

INSERT INTO timeseries.access_levels VALUES ('timeseries_access_public', 'Publicly available time series');
INSERT INTO timeseries.access_levels VALUES ('timeseries_access_main', 'Non-public time series without license restrictions', true);
INSERT INTO timeseries.access_levels VALUES ('timeseries_access_restricted', 'License restricted time series');

So presumably these three lines need to be called somewhere in install_timeseriesdb() for the installation setup to work.

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

1 participant