Code Monkey home page Code Monkey logo

Comments (4)

zbrag avatar zbrag commented on June 1, 2024 1

Checking the data integrity found 8 errors in total:
` Cleanup shell (dry-run)

3 issues found in table Comments (soft deleted users)
5 issues found in table Comments (soft deleted resources)`
Unfortunately fixing these errors didn't fix the issue. I will report later if upgrading fixed the problem

from passbolt_api.

cedricalfonsi avatar cedricalfonsi commented on June 1, 2024

Hello @zbrag,

Sorry to read you are facing an issue while trying to delete a user.

Prior to mark the ticket as a bug, there are 2 things that could be done:

  1. Check for data integrity issue (and fix)

sudo -u www-data /usr/share/php/passbolt/bin/cake passbolt cleanup --dry-run

If it outputs an error, you can fix it reusing the same command without the --dry-run argument.

  1. Upgrade the API to a recent version

The v3.6.0 is more than a year old (May 25th, 2022) and a lot of changes were made since then. You should be able to upgrade to the latest v3 without any problem.

from passbolt_api.

zbrag avatar zbrag commented on June 1, 2024

I've upgraded to api version 3.12.2, the error remains the same, although the line is different:
2023-12-07 12:25:43 error: [App\Error\Exception\CustomValidationException] The user cannot be deleted. The user should not be sole owner of shared content, transfer the ownership to other users. in /var/www/vhosts/simba.vzw.io/httpdocs/src/Controller/Users/UsersDeleteController.php on line 217

I'm currently trying to see if I can upgrade to 4.X without problems

from passbolt_api.

cedricalfonsi avatar cedricalfonsi commented on June 1, 2024

I'm closing this issue as a later version might have fixed the issue. Feel free to reopen the ticket if the problem persist.

from passbolt_api.

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.