-
-
Notifications
You must be signed in to change notification settings - Fork 55
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 lib/Service/Install/InstallService.php#599 #3293
Comments
@Albusoline could you check the owner, group and permissions of cfssl binaries file? You will need to run a ls -la at content of folder Sounds that the owner of files inside this folder is not the same of your http server. |
@vitormattos Owner is root, however www-data (same as http server) has rwx. Therefore I don't see any issues with it. |
owner and group need to be the same of Nextcloud. |
Interestingly enough, chown did not work for some reason. root@myServer:/mnt/data/appdata_ocmjteth5a7k# chown -R www-data:www-data libresign |
Could you check the owner and group of folder |
Where do I find the "root folder" of Libresign? |
Regarding chown: fstab:
|
The origin of problem
The list with possible solutions
The edge case
|
Hi Vitormattos. I now changed fstab, so my mounting point for the nextcloud data has the rights so does libresign within the folder appdata_ocmjteth5a7k Therefore both folders (var/www/nextcloud as well as /mnt/data) got www-data:www-data, in RWX for owner and group. I removed Libresign from NextCloud and installed it again. On the logging I can't find the same errors as stated in previous comments, however there are only ;-) three errors left somehow related to libresign: {"reqId":"hzkhixBkfW62ZJTSmnWH","level":3,"time":"2024-07-10T19:05:03+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/libresign/lib/BackgroundJob/UserDeleted.php#34","userAgent":"--","version":"29.0.3.4","data":{"app":"PHP"},"id":"668edf7937631"} {"reqId":"hzkhixBkfW62ZJTSmnWH","level":3,"time":"2024-07-10T19:05:03+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/libresign/lib/BackgroundJob/UserDeleted.php#35","userAgent":"--","version":"29.0.3.4","data":{"app":"PHP"},"id":"668edf793761e"} {"reqId":"hzkhixBkfW62ZJTSmnWH","level":3,"time":"2024-07-10T19:05:03+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job OCA\Libresign\BackgroundJob\UserDeleted (id: 8694, arguments: null)","userAgent":"--","version":"29.0.3.4","exception":{"Exception":"TypeError","Message":"OCA\Libresign\Db\FileMapper::neutralizeDeletedUser(): Argument #1 ($userId) must be of type string, null given, called in /var/www/nextcloud/apps/libresign/lib/BackgroundJob/UserDeleted.php on line 39","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/libresign/lib/BackgroundJob/UserDeleted.php","line":39,"function":"neutralizeDeletedUser","class":"OCA\Libresign\Db\FileMapper","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\Libresign\BackgroundJob\UserDeleted","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php","line":57,"function":"start","class":"OCP\BackgroundJob\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php","line":47,"function":"start","class":"OCP\BackgroundJob\QueuedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":177,"function":"execute","class":"OCP\BackgroundJob\QueuedJob","type":"->"}],"File":"/var/www/nextcloud/apps/libresign/lib/Db/FileMapper.php","Line":227,"message":"Error while running background job OCA\Libresign\BackgroundJob\UserDeleted (id: 8694, arguments: null)","exception":[],"CustomMessage":"Error while running background job OCA\Libresign\BackgroundJob\UserDeleted (id: 8694, arguments: null)"},"id":"668edf79375f7"} Regarding your possible solutions:
I actually appreciate your help. Hope I can give you back anything once its fixed. Libresign does have quite a potential for our local swimming club... |
Could you check if you get the same when run the install command at cli? |
Are you using LibreSign from source code or did you installed from Nextcloud app store? |
I identified the problem. This is a false positive error message, you can ignore. The problem occur only with arm because the build process didn't packed all json files that are necessary to put: This is the necessary:
I will check what's happening at build process. For now, only ignore the error messages. |
The consequence of problem: https://github.com/LibreSign/libresign/actions/runs/10085849771/job/27887392959#step:19:730 |
I installed LibreSign from NextCloud App Store, not with Source Code. Unfortunately I can't ignore the error, because when I try to use LibreSign, it tells me to finish the setup first. |
Ref:
The text was updated successfully, but these errors were encountered: