Coder Social home page Coder Social logo

Comments (3)

joshtrichards avatar joshtrichards commented on July 23, 2024
{"reqId":"1j1Y0A4xRxc9p6bJB262","level":3,"time":"2024-05-31T12:37:22+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::failure: InvalidArgumentException: Index name \"parent_index\" for table \"share\" collides with the constraint on table \"share_bak\".","userAgent":"--","version":"28.0.6.1","data":{"app":"updater"}}
InvalidArgumentException: Index name "parent_index" for table "share" collides with the constraint on table "share_bak".
Update failed

You appear to have some sort of manually created duplicate table called share_bak. Does that sound familiar at all to you?

I suggest making sure you have a good database dump (backup) then dropping the share_bak table.

If you need help doing that, please use the community help forum: https://help.nextcloud.com

from server.

Geexirooz avatar Geexirooz commented on July 23, 2024

Thanks for your reply.
I certainly did not knowingly create that table. I have already resolved the issue with the risky fix you mentioned, so I hope no problems arise later.

from server.

joshtrichards avatar joshtrichards commented on July 23, 2024
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "",

Are you sharing your db with other apps (or even other Nextcloud installations)?

EDIT: I just noticed the following:

Current version is 29.0.1.

Update to Nextcloud 29.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-29.0.1.zip
Open changelog ↗
{"reqId":"1j1Y0A4xRxc9p6bJB262","level":0,"time":"2024-05-31T12:36:49+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"starting upgrade from 28.0.6.1 to 29.0.1.1","userAgent":"--","version":"28.0.6.1","data":{"app":"core"}}

This output doesn't make any sense. Was there some backstory here? Did you have to run the Updater more than once or anything like that?

Your Updater shouldn't (can't in theory) update from the same version to the same version.

Can you share your updater.log file?

Installation method

None

What installation method are you using?

Also, now that I think about it, the constraint collision check I believe only fails on a new install. It should only be a warning on an upgrade.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.