2024-11-26, 03:33 PM
(This post was last modified: 2024-11-26, 03:37 PM by pavichokche. Edited 1 time in total.)
Here are some of the bits from the log file which reference the old user directory still:
[2024-11-26 00:45:36.222 -05:00] [ERR] [3] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "C:\Users\old_username\AppData\Local\Jellyfin\root\default\Kids"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\old_username \AppData\Local\Jellyfin\root\default\Kids'.
^ this one I got for each library and the collections library
[2024-11-26 00:26:30.832 -05:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in "Christmas Movies" cannot be found at "C:\Users\ old_username \AppData\Local\Jellyfin\data\collections\The Santa Clause Collection [boxset]"
^ this one I got for each collection that I made myself
And that's about it...there were errors struggling to find the profile pictures for each user but I think the server sorted itself out because I saw them reappear later (at startup all the main directories are pointing to the correct place with the new windows username).
Yes, the windows user name on the new system is different. There are a number of config files which point to locations in %localappdata (which as we know contains the user name).
Editing those couple of files remedied most of the issues, but a few still persist, as seen in the log exerpts I shared above.
%localappdata%\jellyfin\config\config.xml:
<CachePath>C:\Users\new_username\AppData\Local\Jellyfin\cache</CachePath>
<MetadataPath>C:\Users\new_username\AppData\Local\Jellyfin\metadata</MetadataPath>
[2024-11-26 00:45:36.222 -05:00] [ERR] [3] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "C:\Users\old_username\AppData\Local\Jellyfin\root\default\Kids"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\old_username \AppData\Local\Jellyfin\root\default\Kids'.
^ this one I got for each library and the collections library
[2024-11-26 00:26:30.832 -05:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.Tasks.CleanupCollectionAndPlaylistPathsTask: Item in "Christmas Movies" cannot be found at "C:\Users\ old_username \AppData\Local\Jellyfin\data\collections\The Santa Clause Collection [boxset]"
^ this one I got for each collection that I made myself
And that's about it...there were errors struggling to find the profile pictures for each user but I think the server sorted itself out because I saw them reappear later (at startup all the main directories are pointing to the correct place with the new windows username).
(2024-11-26, 03:27 PM)TheDreadPirate Wrote: Are you talking about the Windows user name changing? If so, I don't see why you'd need to change anything IN jellyfin other than, maybe, file ownership.
Yes, the windows user name on the new system is different. There are a number of config files which point to locations in %localappdata (which as we know contains the user name).
Editing those couple of files remedied most of the issues, but a few still persist, as seen in the log exerpts I shared above.
%localappdata%\jellyfin\config\config.xml:
<CachePath>C:\Users\new_username\AppData\Local\Jellyfin\cache</CachePath>
<MetadataPath>C:\Users\new_username\AppData\Local\Jellyfin\metadata</MetadataPath>