Jellyfin Forum
SOLVED: Error after full disk: The input does not contain any JSON tokens. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Error after full disk: The input does not contain any JSON tokens. (/t-solved-error-after-full-disk-the-input-does-not-contain-any-json-tokens)



Error after full disk: The input does not contain any JSON tokens. - Vince0511 - 2025-02-21

Hi There,

I've been fighting with my Jellyfin.
I'm running v10.10.6 in docker (lscr.io/linuxserver/jellyfin:latest) with the opencl-intel mod
All was doing well untill my {app we don't talk about - TDP} decided it was a good idea to {activity we don't talk about - TDP} in one night, with the result 0 free bytes left.
I free'd up some diskspace  and restarted my container.
Looked up my error message and saw I needed to remove migrations.xml, no luck.
I know I know, I''m an idiot for not creating backups.
After some more restarts, and removal of all the xml-files in /config I still get an error.

Code:
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
[09:59:34] [ERR] [1] Emby.Server.Implementations.Plugins.PluginManager: Error deserializing .
System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

I dont know where to start. My database an config in Jellyfin is big enough that I dont wat to start over.
I do know what the first thing is, to do when I get it fixed, and that's the backup configuration.
Please help

Kind regards, Vince0511


RE: Error after full disk: The input does not contain any JSON tokens. - TheDreadPirate - 2025-02-21

In this case it looks like it is trying to read the json for one of your plugins. Which tells me that a significant number of Jellyfin related files are corrupt now. You can try deleting most of your files except for your databases and the folder containing your library root configs, but you will likely need to start over.

Make regular backups, keep your media storage on a separate disk or partition from the jellyfin app data.


RE: Error after full disk: The input does not contain any JSON tokens. - Vince0511 - 2025-02-21

(Yesterday, 03:19 PM)TheDreadPirate Wrote: In this case it looks like it is trying to read the json for one of your plugins.  Which tells me that a significant number of Jellyfin related files are corrupt now.  You can try deleting most of your files except for your databases and the folder containing your library root configs, but you will likely need to start over.

Make regular backups, keep your media storage on a separate disk or partition from the jellyfin app data.

Oh my god! You are my savior!
I deleted all the xml-files is the root of my docker-container, all the plugin-data from the cache-folder and everything from the log-folder. AND-IT-WORKED!
The only thing I've lost is the Disclaimer on my login-page and the name of my server. I remember those, so I'll type them again! 

My next quest will be a good way to backup my Jellyfin! I hope you all have a wonderfull weekend!
(I mark this as solved now)