-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Bug]: nextcloud-init-sync.lock considered as extra file by the scanner #2070
Comments
I didn't rerun the scan after changing the file owner, now the error disappeared, but still I should not have to change myself the owner of this file. |
This file isn't created by Nextcloud, but by community Docker image's How are your underlying volume mounts defined in your Docker? Either your Docker compose or command-line? Because the resulting ownership should be more like:
And are you by chance running Docker under a different user or rootless? Related: #2057 |
Thanks fo₹your answer @joshtrichards
and the mounts are done like this (docker compose extract):
|
What is your underlying host OS/version, host hardware platform, When you restart the Nextcloud app container are there any interesting bits in the Docker logs for the container during startup? |
I'm running Nextcloud on a Raspberry Pi 4 with RaspberryPi OS
After a docker restart on the container, I don't get anything interesting in the logs (knowing that the error disappeared since I chmoded myself the file)
|
Have you had this reoccur since? (Outside of v30.0.0 which was unrelated and due to an upstream change that is fixed in the upcoming v30.0.1). Outside of the recent regression (which we know the cause of), there haven't been any similar reports since your report. |
No, I didn't... I have it currently with 30.0.0 but I don't think I had it before (although I didn't check this for quite a long time) |
Alright. I'm going to close this since there haven't been other reports either so there isn't anything actionable at this point. |
Bug description
I get a warning that some file don't pass the integrity checks and when I look at the details, I get:
Looking at the logs, I can see:
but this file is created by nextcloud itself in the container so it's weird
Checking the file permissions inside the container:
-rw------- 1 root root 0 Sep 23 08:02 /var/www/html/nextcloud-init-sync.lock
I changed the ownership to www-data:www-data in the container and the above error disappeared but the integrity check continue to fail
Steps to reproduce
Expected behavior
This file should not be considered in the integrity check
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: