-
Notifications
You must be signed in to change notification settings - Fork 45
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
Nextcloud 14: This request is not allowed to access the filesystem #66
Comments
The second error trace makes it look like there is an issue with the permissions on the filesystem. Can you check the the permission in your Nextcloud's data directory, especial the appdata directory and subfolders? |
Thanks for you quick response! |
Passwords uses the encryption interface provided by Nextcloud (a wrapper for phpseclib) to encrypt passwords server side. This is usually also the same interface as used by the server side storage encryption. |
Hello, i have the same error, but without the second message.
If you need more information with a low time to response we could make a teamviewer session and collect the results in a post. Thanks for help |
I have the same problem. The Android app does work, but it only shows a small handful of passwords. How does that make sense? I re-ran https://wiki.archlinux.org/index.php/Nextcloud#Setting_strong_permissions_for_the_filesystem |
Hmm so the first error still exists? I'm so happy to be not alone with this error, you won't belive how much i am 😄 |
No, access to the encrypted external storages is working correctly. |
I was unable to figure out what causes the issue so far, so i pulled the 2018.9 release from the app store today. The information i have so far leads me tho the conclusion that one of the migrations within the app must be the cause of this.
If you know how to use Docker, you can also use the development environment for the following. (Just import a database dump) Also if you do have a database backup, it would be great if you could take a look at the table Lastly you can also run the command |
I make it fast 😄:
Good Night together |
1. Which version of the app did you upgrade from?I'm also pretty up to date, so it must have been the previous release, as per your releases page: 2018.7.0 2. Which version of the app did you start with?I honestly don't know as well. I also checked my browser history and the according release would be 3. Which version of Nextcloud (all three numbers) were you running when you upgraded?13.0.6.1 (I actually thought it was after I upgraded to 14, but I got the errors before as well) 4. Are you using ajax or webcron for background jobs?System cron as well 5. Did you upgrade using the Appstore or manually?App store 6. Did you see the Upgrade page afterwards?I don't remember anything like that. It was a regular app update and then when I checked the app failed to load. 7. Were there any errors during the upgrade?No user-facing ones. Logs don't show anything as well. 8. Do you use the "delete old objects from database" option?I'm sorry I don't know what that is. I have nothing like that in my config.php and could not find anything in my admin settings as well. 9. Are you having multiple users on your Nextcloud?Yes, 3 10. Did you delete an user?No 11. Did you share passwords?Yes I checked the current Lastly, here is my output of
|
@Somebodyisnobody I think the release was on 13.09.2018 around 20:00 MESZ @Biont Thanks for running the command. Can you check your database if the table SELECT COUNT(*) FROM `**YOUR_TABLE_PREFIX**passwords_entity_password_revision` WHERE `custom_fields` = '{}' |
Admin settings -> Passwords -> "Gelöschte Objekte aus der Datenbank entfernen" ("Remove deleted objects from the database.") Line 45 in 3e60a93
@marius-wieschollek Okay I had another idea to find it out: The first error (Ciphertext [...]) appeared at "time:"2018-09-13T19:54:02+02:00"". So I upgraded between 17:45:03 and 17:54:02 MESZ
|
@Somebodyisnobody the message in the log is normal, it's the cronjob. You can run the SQL statement from my last post and check if it returns anything but '0'. |
The table "nc_passwords_entity_password_revision" does not exist (my prefix is nc_) is that good or bad? |
@Somebodyisnobody make a |
Edit: how to upgrade the app manually? (Have shell access) |
@marius-wieschollek I got sick, so I am just on my phone now. I quickly ssh'd into my server and ran the query, which returned the following:
Good to see the progress here. I was really nervous about this |
Ok, then i think we have found the bug. |
@marius-wieschollek could you fast explain how to upgrade manually? Just putting the folder into the apps-folder? |
yes, that is essentially it. You will see the Nextcloud Upgrade screen afterwards. |
@marius-wieschollek I can confirm that the nightly build fixes the issue for me. Thanks for solving this so quickly. |
@marius-wieschollek I have also tested the nigthly build. It fixes the issue for me too! Great work, thanks! |
Great to hear that. If i do not get any negative responses, i will publish this as 2018.9.1 tomorrow. |
I'll test it at evening and give you a feedback. |
@Somebodyisnobody It was a mix of two bugs. Because of Nextcloud bug #9781, the appstore will initialize an app before upgrading it. That also means that it will only run migrations defined in the old info.xml and ignore new migrations defined in the info.xml of the update. (Bug 1) In passwords 2018.5, the field I had assumed that a migration (or a cronjob) was to blame, but did not know what exactly happened. I originally assumed that something messed up the ownership of passwords and therefore the decryption fails. When @Biont ran the maintenance command and did not get any errors, i realized that the migration does not decrypt the passwords. After all i'm pretty happy that it was only something "minor" and the keys did not get damaged or deleted. I will probably add a backup option for the keys in a future release. |
@marius-wieschollek Thanks for this detailed describtion, bad things happens in live :) Thank you! |
Version 2018.9.1 has been released to fix this issue. Thanks everyone for reporting and helping. |
System Information
Steps to reproduce
I have updated the Passwords App to 2018.9.0 and Nextcloud to 14.0 after that, I can not access the passwords app anymore.
Actual result
Can't access the passwords app. The list keeps blank. In the logfile of nextcloud I can see the following entries:
Expected result
Password-Entries should be listed in the web interface.
The text was updated successfully, but these errors were encountered: