-
-
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
[Bug]: Remote images in discover section in AppStore not loading if Windows filename compatibility
is enabled
#49516
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I just checked and it in fact is a problem with windows compatibility. Even after turning it back on, it works (presumably for some time), as the files are downloaded already. Maybe it's an issue with double quotes in the file paths? The |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Windows filename compatibility
is enabled
Feel free to test #51379
|
Bug description
Hello. I have set up an internal instance of nextcloud, according to this guide.
When opening the discovery page in the appstore, the external promotional images (defined in
discover.json
) do not load. I don't think this is a reverse proxy issue, as I can install apps and other external images load just fine, also I don't have any reverse proxy issues noted in the administration overview.Example:

After some debugging I found out that the crash is related to the cache and occurs in
apps/settings/lib/Controller/AppSettingsController.php
, in function GetAppDiscoverMedia, line 150:$allFiles = $folder->getDirectoryListing();
What is weird is that
$folder
is created just a few lines above, and yet this line throws aOCP\\Files\\NotFoundException
. I have checked and this directory is created successfully in/var/www/nextcloud/data/appdata_*/appstore/app-discover-cache
. I don't think it's a permission issue either, as I have stated above that the directory is freshly-created.I am not exactly sure why these specific functions use a cache, when app screenshots (in "best-rated apps") are just externally sourced
<img>
s.This is not a major bug but it does make it more difficult to read the logs, as it creates a lot of errors (about 3 errors each time the discovery page is opened).
Steps to reproduce
Expected behavior
The images and videos on the discovery page load properly.
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: