-
-
Notifications
You must be signed in to change notification settings - Fork 62
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]: Loading my gallery throws an error which renders the gallery unusable. #1769
Comments
I tried using files:scan --all to scan for non-existing files and now I get this error in the browser developer console right when I call it and the gallery app isn't loading anymore. |
duplicate of #1753 |
Bug description
Loading my gallery throws an error which renders the gallery unusable.
I just have to scroll the gallery and I get an error:
checked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received ConsoleLogger.js:46 [ERROR] photos: Error fetching files {level: 0, app: 'photos', uid: 'janis', error: SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at https://download.h…}app: "photos"error: SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:3662409 at Array.forEach (<anonymous>) at h.updateFiles (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:3662222) at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2732297 at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733815 at Array.forEach (<anonymous>) at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733794 at h._withCommit (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2735624) at h.commit (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733768)message: "Unexpected end of JSON input"stack: "SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:3662409\n at Array.forEach (<anonymous>)\n at h.updateFiles (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:3662222)\n at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2732297\n at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733815\n at Array.forEach (<anonymous>)\n at https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733794\n at h._withCommit (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2735624)\n at h.commit (https://download.heldendesbildschirms.de/apps/photos/js/photos-main.js?v=bd1bfd25-0:2:2733768)"[[Prototype]]: Errorlevel: 0uid: "janis"[[Prototype]]: Object value @ ConsoleLogger.js:46 value @ ConsoleLogger.js:72 (anonym) @ FetchFilesMixin.js:113 l @ FetchFilesMixin.js:2 (anonym) @ FetchFilesMixin.js:2 (anonym) @ FetchFilesMixin.js:2 k @ FetchFilesMixin.js:2 a @ FetchFilesMixin.js:2 Promise.then (async) k @ FetchFilesMixin.js:2 a @ FetchFilesMixin.js:2 Promise.then (async) k @ FetchFilesMixin.js:2 a @ FetchFilesMixin.js:2 Promise.then (async) k @ FetchFilesMixin.js:2 a @ FetchFilesMixin.js:2 (anonym) @ FetchFilesMixin.js:2 (anonym) @ FetchFilesMixin.js:2 fetchFiles @ FetchFilesMixin.js:60 getContent @ Timeline.vue:237 Nt @ vue.runtime.esm.js:3017 n @ vue.runtime.esm.js:1815 Nt @ vue.runtime.esm.js:3017 e.$emit @ vue.runtime.esm.js:3716 needContent @ FilesListViewer.vue:244 Nt @ vue.runtime.esm.js:3017 n @ vue.runtime.esm.js:1815 Nt @ vue.runtime.esm.js:3017 e.$emit @ vue.runtime.esm.js:3716 isNearBottom @ VirtualScrolling.vue:231 Nt @ vue.runtime.esm.js:3017 e.run @ vue.runtime.esm.js:3534 An @ vue.runtime.esm.js:4121 (anonym) @ vue.runtime.esm.js:3143 jt @ vue.runtime.esm.js:3065 Promise.then (async) Bt @ vue.runtime.esm.js:3090 Gt @ vue.runtime.esm.js:3155 Fn @ vue.runtime.esm.js:4207 e.update @ vue.runtime.esm.js:3513 e.notify @ vue.runtime.esm.js:720 set @ vue.runtime.esm.js:963 Hn.Gn.set @ vue.runtime.esm.js:5356 (anonym) @ VirtualScrolling.vue:294 u @ index.js:27 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) u @ index.js:23 setTimeout (async) l @ index.js:38 FetchFilesMixin.js:114 SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at files.js:53:40 at Array.forEach (<anonymous>) at h.updateFiles (files.js:45:12) at vuex.esm.js:844:13 at vuex.esm.js:466:7 at Array.forEach (<anonymous>) at vuex.esm.js:465:11 at h._withCommit (vuex.esm.js:624:3) at h.commit (vuex.esm.js:464:8) (
Would it also be possible for you guys to perhaps go in the direction of Google Photos as far as the condition is concerned?
I have more than 17k photos and I don't want to keep scrolling halfway through the photo app to take 50 minutes to load in 2019.
People, to be honest, I have to say that feels really unfinished and there is more possible, you can see that you can ask what I did on that day last year.
That doesn't seem to be a problem, but I can't easily scroll by date in the Gallery app.
And now after an update I still have such problems that it no longer works at all.
And Mariadb and Apache don't like it when so many images needlessly need to be processed and loaded.
I'm really not kidding, I prefer to use SFTP sometimes to search for an image by date, because it doesn't load the server for no reason.
I don't have to say how crappy it is about the Android app, it usually just smears, now unfortunately the web version does it too.
Do I have to check the data for errors or where is the problem, it worked before the update?
Steps to reproduce
Expected behavior
It should actually load and not result in an error.
Installation method
Community Manual installation with Archive
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
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: