-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
NC 13.0.4: Constant OC\ForbiddenException: This request is not allowed to access the filesystem #6541
Comments
cc @icewind1991 |
Well my guess is, that someone is using an app token in the sync client which doesn't have |
That may very well be the problem. I'm using app tokens and my phone only get's caldav and carddav access. |
Well I think we should either not set up encryption, or make sure the NullStorage only blocks files/ This is exactly what I predicted back then. We only want apps to not be able to read the filesystem. Not prevent internal mechanisms to be blocked by it... |
There is no exception, when 1. the app token is not restricted, 2. master key is enabled So there are 2 workarounds |
App token not being restricted kind of defies half the reason to use them. I actived encryption recovery for my account (I hope this is what you meant by master key) and alas, the error still pops up, whenevery I'm syncing my caldav or carddav account on my phone. |
I ment the console command:
So my suggestion would be to temporarily allow the file access, until the issue is resolved. |
@schiessle I guess it would be save to catch the exception on the init of encryption and just ignore it? we can't write any files anyway, so no need to fail with encryption keys? |
Oh, ok... no, that's not a possibilty for me ;-) Well, then I'll wait for a fix. |
I am unable to recreate this behaviour in a current 13.0.0a version at home. Has something changed? |
Was most likely finally fixed in 13.0.3 with #9608 |
Hi @MorrisJobke |
Any news about that issue ? |
As the version of the software you've reported this for has reached end of life, I will close this ticket. If this is still happening after an upgrade to the latest version, feel free to reopen |
Steps to reproduce
Expected behaviour
No Error messages in log
Actual behaviour
Constant "OC\ForbiddenException: This request is not allowed to access the filesystem" entries (see below). Multiple per hours. PHP user is owner of NC directory (with sub directories).
General server configuration
Operating system: Linux hermes 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u3 (2017-08-15) x86_64
Web server: nginx/1.12.1 (fpm-fcgi)
Database: pgsql PostgreSQL 9.4.13 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit
PHP version: 7.0.23-1~dotdeb+8.1
PHP-modules loaded
Nextcloud configuration
Nextcloud version: 12.0.3 RC2 - 12.0.3.1
Updated from an older Nextcloud/ownCloud or fresh install: YOUR ANSWER HERE
Where did you install Nextcloud from: YOUR ANSWER HERE
Are you using external storage, if yes which one: Array
(
[0] => \OC\Files\Storage\Local
[1] => \OCA\Files_External\Lib\Storage\FTP
[2] => \OC\Files\Storage\DAV
[3] => \OCA\Files_External\Lib\Storage\OwnCloud
[4] => \OCA\Files_External\Lib\Storage\SFTP
[5] => \OCA\Files_External\Lib\Storage\AmazonS3
[6] => \OCA\Files_External\Lib\Storage\Dropbox
[7] => \OCA\Files_External\Lib\Storage\Google
[8] => \OCA\Files_External\Lib\Storage\Swift
[9] => \OCA\Files_External\Lib\Storage\SFTP
[10] => \OCA\Files_External\Lib\Storage\SMB
[11] => \OCA\Files_External\Lib\Storage\SMB
)
Are you using encryption: yes
Are you using an external user-backend, if yes which one:
Signing status
This is discussed here nextcloud/calendar#600
Enabled apps
Disabled apps
Content of config/config.php
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/60.0.3112.113 Chrome/60.0.3112.113 Safari/537.36
Operating system: Ubuntu 16.10
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: