Comments (4)
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.
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:
- 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.
- 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.
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.
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)
- migrate: Undefined constant "no" in /etc/passbolt/passbolt.php:56 HOT 2
- lack of having the option to not verifying mail server (tls_skip_verify) HOT 5
- utf8_encode() still in use in enygma/yubikey dependency breaking in php8.2 HOT 2
- API ednpoint resources.json not returning all resources HOT 1
- saving TOTP - The message should be of type string. HOT 8
- Error message with mysql backup task HOT 3
- Sharing folders leads to issues when the owner is removed while promoting another user as the new owner HOT 2
- Invalid link generated by recover_user command HOT 2
- RBAC control to deny user password copy is not working. HOT 5
- Bump Duo_Universal_Php to 1.0.2 in order to have a valid composer.json in dependencies for a more cleaner build process HOT 4
- HEAD requests not supported HOT 4
- SQL error on creating folders when using PostgreSQL database HOT 7
- Debian package has webroot/.htaccess missing HOT 3
- SMTP SETTINGS ERROR HOT 1
- Unsuspend didnt work HOT 2
- PassboltApiFetchError: Not Found HOT 3
- Import Button uses Export symbol HOT 1
- Ask if user really wants to remove him/her/themselves as owner of folder (or resource)
- Error in en_UK source translation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passbolt_api.