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

Nextcloud Dashboard install error #358

Closed
marxistvegan opened this issue Nov 19, 2018 · 5 comments
Closed

Nextcloud Dashboard install error #358

marxistvegan opened this issue Nov 19, 2018 · 5 comments

Comments

@marxistvegan
Copy link

Hey all,
Nextcloud is running well, but i am not able to add the Dashboard app, i get this error

An error occured during the request. Unable to proceed.
An exception occurred while executing 'INSERT INTO "oc_dashboard_settings"("id","key","value") VALUES(?,?,?)' with params [1, "show_activity", 1]: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "oc_dashboard_settings_pkey" DETAIL: Key (id)=(1) already exists.

Which makes it seem I had it installed but I am not sure how to resolve it.

@cyberb
Copy link
Member

cyberb commented Nov 19, 2018

I guess you need to contact dashboard app devs with this question first.

@marxistvegan
Copy link
Author

I see an approach to solving this, nextcloud/dashboard#40, but I am not sure how to access the nextcloud database.

@cyberb
Copy link
Member

cyberb commented Nov 20, 2018

You can enter the database shell using the following command:

/snap/nextcloud/current/postgresql/bin/psql -U nextcloud -h /var/snap/nextcloud/common/database -p 5436

@cyberb
Copy link
Member

cyberb commented Nov 20, 2018

Then you can execute their truncate command

@marxistvegan
Copy link
Author

OK the truncate command worked, but another issue arose, I am going to close this as it does appear to be an issue upstream.

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