-
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
Error to download/sync files from a specific sharing folder #25806
Comments
The error seems to say that the file doesn't exist in the data folder, can you check ? Usually such inconsistencies could be fixed by running |
@PVince81 Hi Vincent, I scanned that folder by occ files:scan --path,, now it looks the download/syncing is normal . |
It is likely that the corruption is due to a PHP timeout during upload or delete for big files for example. Basically, OC didn't have time to finish properly preparing the encryption keys or updating the oc_filecache table. You can reduce the occurrences of such timeouts by increasing the PHP timeout in php.ini. Unfortunately it seems there is no way to completely prevent this. The problem with PHP timeouts is that PHP would just kill the process even if it hasn't finished its work. There are some ideas to improve this in the future by using asynchronous file operations, but it would be a big change in the architecture: #24509 |
@PVince81 Hi Vincent, thanks for your answer, it seems we have another sharing folder having the same problem. |
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. |
Steps to reproduce
Expected behaviour
some of files from a sharing folder failed to download/sync
Actual behaviour
download/sync properly
Server configuration
Operating system:
ubuntu 14.04 64-bit
Web server:
apache2
Database:
mysql
PHP version:
php5
ownCloud version: (see ownCloud admin page)
9.0.4
Updated from an older ownCloud or fresh install:
from an older owncloud
Where did you install ownCloud from:
upgrade from updater app
Signing status (ownCloud 9.0 and above):
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
or
Insert your config.php content here
(Without the database password, passwordsalt and secret)
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM
oc_appconfig
WHEREappid
= 'user_ldap';Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Insert your webserver log here
Insert your ownCloud log here
Insert your browser log here, this could for example include:
a) The javascript console log
![client error](https://cloud.githubusercontent.com/assets/10448085/17667209/828fc13c-6336-11e6-9ec4-7a9fd7d88e91.JPG)
b) The network log
c) ...
server error log.txt
The text was updated successfully, but these errors were encountered: