-
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
Mounted ftps doesn't show all the files and directories #9630
Comments
With FTPS you mean FTP + secure checkbox ? There's trouble with some FTP servers that they don't return any mtime, so update detection cannot work. Related: #6395 @icewind1991 maybe we need to put |
@PVince81 yes: ftp with secure checkbox. The FTP server is ProFTPD |
Have you set up a cron job (admin page > set background jobs to cron > configure an OS cron job to execute the cron). |
@MTRichards what should the cron job says?, As I wrote before: php console.php files:scan --all' (It doesn't refresh) |
@karlitschek @DeepDiver1975 Any help on the specific syntax of the cron job? @cdamken has an example above, but it doesn't seem to work. |
@cdamken are you executing the console call with the web server user? |
I just mounted a local directory with my ftps server (using curlftpfs) and added to OwnCloud as an external storage. I can see that ownCloud can access to the files in the FTP server, and it refreshes the content although the files have been uploaded through an FTP client. There are some problems to create files trough the ownCloud client in that directory, but it seems it's a problem with curlftpfs (the files cannot be created in the file system either) When I use "Local" as an external storage, I see that if I delete the storage, the oc_filecache table keeps the old entries, but once I create again the local external storage, this table get refreshed with the new files (I deleted directly some files in the meantime). It doesn't happen if I create an external storage as FTP, since the files in the oc_filecache table that belong to this external storage don' get You can see attached tree files: the ftp external storage definition (ac.png, where the indicator is green), the files not refreshed that I can see through the web interface (edw.png) and the files that actually exist in the ftp server (Ftp_folder.png). In order to reproduce it, you just have to create the FTPS external storage and delete some FTP files through the ftp client, not the owncloud client. Attached in: S3-ownCloud\Shared\owncloud\support\github-issues\core\9630 |
@icewind1991 please help. Thanks. |
@DeepDiver1975 From the web server, as administrator |
It might be caused by the filecache entries not having valid hashes of the path, which makes it impossible for the scanner to remove the files. Can you try running
(this is mysql specific, you probably need to replace the You can also try re-running the scanner and checking the output it generates, if the output of the scanner lists the removed files it means it's a problem with the storage backend |
@icewind1991 I saved the results here: S3-ownCloud\Shared\owncloud\support\github-issues\core\9630\New\ |
@icewind1991 Any news? |
@butonic @PVince81 @icewind1991 http://www.proftpd.org/docs/howto/Timestamps.html
|
ownCloud is using PHP's FTP stream wrapper. So if that one isn't using that command then it won't work. |
done |
please test with the files_external_ftp app from the marketplace and see if the problem persists |
I will test it and reopen (or create a new issue) if the problem still appears. |
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. |
Expected behaviour
Mounting a ftps file system. put and erase files/directories and can be used with ownCloud
Actual behaviour
Mounting a ftps file system. put and erase files and ownCloud do not refresh the files or directories
Steps to reproduce
Server configuration
ownCloud version: 6.0.4
00001186
The text was updated successfully, but these errors were encountered: