[Bug]: 29 RC4, photos and media are not displayed
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
I found similar errors but they seem resolved. However, after updating to 29 RC4 and even RC5, no photos or media are displayed. In version 29 RC3 everything worked.
Steps to reproduce
- Update from 29 RC3 to 29 RC4
- Go to Photos app
Expected behavior
View all photos
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.1.253",
"www.kaha.site",
"kaha.site"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "29.0.0.18",
"overwrite.cli.url": "http:\/\/192.168.1.253\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"updater.release.channel": "beta",
"maintenance": false,
"theme": "",
"loglevel": 2,
"app_install_overwrite": [
"maps",
"facerecognition",
"files_rightclick"
],
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "CZ"
}
}
List of activated Apps
Enabled:
- activity: 2.21.1
- admin_audit: 1.19.0
- bruteforcesettings: 2.9.0
- circles: 29.0.0-dev
- cloud_federation_api: 1.12.0
- cloud_py_api: 0.1.9
- comments: 1.19.0
- contactsinteraction: 1.10.0
- dashboard: 7.9.0
- dav: 1.30.1
- federatedfilesharing: 1.19.0
- federation: 1.19.0
- files: 2.1.0
- files_downloadlimit: 2.0.0
- files_external: 1.21.0
- files_pdfviewer: 2.10.0
- files_reminders: 1.2.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- mediadc: 0.3.8
- nextcloud_announcements: 1.18.0
- notifications: 2.17.0
- oauth2: 1.17.0
- password_policy: 1.19.0
- photos: 2.5.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- recognize: 6.1.1
- recommendations: 2.1.0
- related_resources: 1.4.0
- serverinfo: 1.19.0
- settings: 1.12.0
- sharebymail: 1.19.0
- support: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- text: 3.10.0
- theming: 2.4.0
- twofactor_backupcodes: 1.18.0
- updatenotification: 1.19.1
- user_status: 1.9.0
- viewer: 2.3.0
- weather_status: 1.9.0
- workflowengine: 2.11.0
Disabled:
- encryption: 2.17.0
- files_rightclick: 0.15.1 (installed 0.15.1)
- maps: 1.3.1 (installed 1.3.1)
- suspicious_login: 7.0.0
- twofactor_totp: 11.0.0-dev
- user_ldap: 1.20.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
No response
Additional info
No response
Browser console
Unified search initialized! Sidebar.js:36 OCA.Files.Sidebar initialized comments-app.js:32 OCA.Comments.View initialized ShareSearch.js:33 OCA.Sharing.ShareSearch initialized ExternalLinkActions.js:33 OCA.Sharing.ExternalLinkActions initialized ExternalShareActions.js:33 OCA.Sharing.ExternalShareActions initialized viewer-main.mjs?v=5019c7a3-1:44 [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config {app: 'viewer', uid: 'karel', level: 2, ignoredMimes: Array(4)} value @ viewer-main.mjs?v=5019c7a3-1:44 value @ viewer-main.mjs?v=5019c7a3-1:44 (anonymous) @ viewer-main.mjs?v=5019c7a3-1:2127 viewer-main.mjs?v=5019c7a3-1:2187 OCA.Viewer initialized session-heartbeat.js:103 session heartbeat polling started UnifiedSearchModal.vue:275 Search providers (6) [{…}, {…}, {…}, {…}, {…}, {…}, ob: e] UnifiedSearchModal.vue:279 Contacts (4) [{…}, {…}, {…}, {…}, ob: e] NotificationsApp.vue:219 Registering notifications container as a menu NotificationsApp.vue:470 Notifications permissions not yet requested NotificationsApp.vue:416 Polling interval updated to 30000 NotificationsApp.vue:275 Started background fetcher as session_keepalive is enabled NotificationsApp.vue:376 Got notification data, restoring default polling interval.
Could be related to these in the logs: Undefined array key 4 at /var/www/nextcloud/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
Hello, thanks for the reply. So what should I do to make it work again? Or will someone else fix it?
Thx
Hey, thanks for the report! When you say no photos displayed, do you mean when you click to preview them? Or you mean the page is empty and the photo grid is not displayed at all? can you post a screenshot?
Please also update to latest 29 before testing again :)
The page is empty and the photo grid is not displayed at all.
But its stange accesing nextcloud from internet doesnot work
but accesing it from local network works wel :(
It works for one user but for another user it doesnot work.
But its stange accesing nextcloud from internet doesnot work [...] but accesing it from local network works wel :(
What do you mean? Are you using different URLs to access your instance? What's different about these two access methods? A reverse proxy? HTTP versus HTTPS? Cloudflare? Anything like that?
Hi, It doesn't matter if it's over HTTP or HTTPS. For one user it works over both HTTP and HTTPS and for the other it works over neither HTTP nor HTTPS.
Now there are errors in cosole
Nextcloud is run using NGINX, not Apache. But it worked normally. I think it's some problem in the saved data, where my images don't display and the whole thing crashes
If I can provide some logs, please let me know how to get the requested log
Thank you :)
Please check your browser inspector Network tab and refresh the page. Those 404 / "failed to load module script" suggest a configuration matter (probably).
One possibility is that it appears you are using a sub-folder deployment + pretty URLs, but your config only partially reflects that.
See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#htaccess-rewritebase