-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
occ files:scan bails out with “StorageNotAvailableException” #18929
Comments
Please use the issue template as described at https://github.com/owncloud/core/blob/master/CONTRIBUTING.md, thx. |
@LukasReschke and everybody else: I am really sorry! Here is the info. Steps to reproduce
Expected behaviourIt should scan all files in the file system and update the database accordingly. Actual behaviourThe occ command does not complete, does display the following error message (in large red borders):
Server configurationOperating system: Ubuntu 14.04.3 LTS, 64 Bit Web server: Apache2 2.4.7-1ubuntu4.5 Database: MySQL 5.5.44-0ubuntu0.14.04.1 PHP version: PHP 5.5.9+dfsg-1ubuntu4.11 ownCloud version: 8.1.1 Updated from an older ownCloud or fresh install: List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/... Are you using encryption: yes/no Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
Client configurationBrowser: Operating system: LogsWeb server error log(empty) ownCloud log (data/owncloud.log)syslog is used instead:
Browser log(not relevant I suppose) |
The LDAP logs look fishy. |
In 8.2 / master there is already a fix that makes the scanner more tolerant and prevents it to bail out, see #18523 |
@svenehret are you sure your first LDAP server does work at all? Appears that TLS is not enabled. Turn off ldapTLS for the first server by |
@blizz yes, I am sure that the first LDAP server is working, because I am using an account from its directory service. It is correct that TLS is not enabled in this case. |
I have re-tried with a new VM clone and with OC version 8.2.1, with the same result. |
@icewind1991 didn't we fix this recently ? Can you find the PR ? |
@cdamken I also seem to remember that you were in a similar ticket, do you remember which ? |
@svenehret is this still happening with 8.2.3 or 9.0.0 ? I seem to remember that we already had a fix for this but cannot find the PR any more. |
thank you for the follow-up. I have cloned the 7.0 installation stepwise to 9.0 and now it goes like this:
Log:
No files or directories are visible in the web interface, only “Dieses Verzeichnis ist nicht verfügbar, bitte überprüfen Sie die Logdateien oder kontaktieren Sie den Administrator” in a yellow box at the top. |
ldap seems to work though:
I am also seeing users in the web interface, alongside LDAP backend |
after “some” more work I managed to upgrade in so far that What I did was:
So, there's that and I'll close. |
unavailable storages are already skipped in the scanner since 9.0/8.2.3/8.1.6 (#20789) so I think we can close this |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
while performing a filescan, the process bails out (always at the same file) with this notice:
It does not give any more hints. What can be the cause, and what could be done to correct it?
The text was updated successfully, but these errors were encountered: