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

chmod(): Operation not permitted at /var/www/nextcloud/apps/recognize/lib/Migration/InstallDeps.php#169 #1169

Open
aakerbeere opened this issue Aug 23, 2024 · 6 comments
Labels
bug Something isn't working priority: normal

Comments

@aakerbeere
Copy link

Which version of recognize are you using?

7.1.0

Enabled Modes

Object recognition, Face recognition, Music recognition

TensorFlow mode

WASM mode

Downstream App

Files App

Which Nextcloud version do you have installed?

29.0.5.1

Which Operating system do you have installed?

Debian 12

Which database are you running Nextcloud on?

PostgreSQL 16.4

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

8GiB

What processor Architecture does your CPU have?

aarch64

Describe the Bug

When running "occ maintenance:repair" an error comes up to the nextcloud log (see subject)

Expected Behavior

Should run without errors

To Reproduce

Run "occ maintenance:repair" at CLI

Debug log

No response

@aakerbeere aakerbeere added the bug Something isn't working label Aug 23, 2024
Copy link

Hello 👋

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue
Cheers 💙

@iFreilicht
Copy link

I had the same issue show up in my logs. Nextcloud 28.0.6 on NixOS, MariaDB 10.6, native x86 mode. Simply running nextcloud-occ maintenance:repair manually from the command line as root fixed it, though that might not apply to your situation.

@aakerbeere
Copy link
Author

thx @iFreilicht
I run "sudo -u www-data php /var/www/nextcloud/occ maintenance:repair" manually from the command line. Is this "root" enough?

@iFreilicht
Copy link

I assume that www-data is the user your nextcloud server is running as? In that case, probably.

@marcelklehr
Copy link
Member

It seems like your file permissions are not set correctly.

@aakerbeere
Copy link
Author

Must have been done by someone else :-(

@marcelklehr marcelklehr moved this from Backlog to Bugs in Recognize Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: normal
Projects
Status: Bugs
Development

No branches or pull requests

3 participants