Closed j-ed closed 4 years ago
very likely related to #6589
@j-ed can you locally remove (via the app) the downloaded files, do a pull-to refresh on the folder and try again (also using RC4). Afaik @tobiasKaminsky fixed this but in case you refreshed the folder before then its meta data is corrupted in the client side and needs to be reloaded/refreshed before files in the particular folder will properly download/work again
@AndyScherzinger I tried the way you described to fix the problem. It worked for two files which had local copies on my mobile, but with all other files in that folder it didn't work. Next I've deleted the whole folder on the sd card but without getting the problem fixed after refreshing the folder view. Then I deleted the whole content of the folder on the server too, refreshed the folder view to get an empty folder displayed, copied back all files on the server from a backup, refreshed the folder view on my mobile again and after that all files seem to be accessible/downloadable again.
@tobiasKaminsky it seems @j-ed has (more or less, can't say for sure) the exact same behavior as reported by @Wikinaut before via #6589
@j-ed I confirm, I have the very same problem.
Then let us combine it with #6589
Actual behavior
The directory and file structure on my server exists for a couple of years now. I was always able to download all kind of files without a problem. Two weeks ago I changed the Nextcloud storage path from internal storage to a sd card (
/storage/xxxx-xxxx/Android/media/com.nextcloud.client
) to free some space on my mobile phone. All data was moved to that directory and the app seems to work as expected. Yesterday I realized that I wasn't able to access/download files in a specific folder, which definitely worked before. If I select a pdf file in the folder is seems to be downloaded to my mobile device although an error message is being displayed and but the pdf viewer isn't opened automatically. Error message:I checked the directory and file structure on the sd card which looks like this:
The pdf file in the tmp folder is the one I selected to download and I'm able to open the file using a normal file manager. It looks to me as if a problem appeared moving the file to the correct destination directory. To make sure that this isn't a general problem I tested downloading other file from a different folder, which worked fine. All of them where stored in the correct destination directory. Next I checked the log file and found the following information:
These are the conclusions from the log:
/storage/emulated/0
is the internal storage, right? -> A folder with the given name/Android/media/com.nextcloud.client/nextcloud
already exists and therefore couldn't be created again?!Expected behavior
The file should be downloaded and displayed as usual.
Environment data
Android version: 8.0.0 Device model: Samsung Galaxy S7 Stock or customized system: stock Nextcloud app version: 3.13.0 RC3 Nextcloud server version: 19.0.1 Reverse proxy: no