Linux upgrade chown - 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: Linux upgrade chown (/t-linux-upgrade-chown) |
Linux upgrade chown - enesha - 2024-08-08 Hiya all So I'm having a problem and I wonder if any one else is. I have a server running intel octo i7 32gigs ram (almost never over 8 and I really try lol) many sata and / or ssd drives running ubuntu 22.04 I have been running JF for a number of years now. Tonight, however, I was doing updates, and 10.9.9 was there (is the 10.9 branch cursed? Seems like a lot or problems came up and a bunch of point updates since we moved from 10.t's decided to screw with me. For, afaik no apparent reason, decided that it suddenly needed to run a huge chown. (This is from ps) root 3794 1.4 0.0 5968 2672 pts/1 D+ 00:46 0:11 chown -R jellyfin /var/lib/jellyfin /etc/jellyfin /var/log/jellyfin /var/cache/jellyfin It doesn't look like it ran for long, but it ran so long I actually rebooted the machine assuming something died, it had gone for about half hour..FOR A CHOWN?? I dunno wtf is totally in /var/lib/jellyfin but it's pissed the F off! I can't even get a good du -skh on that directory. So this is a problem. You have my machine stuck doing a chown and it's not happy. ? I guess I would like to know why you are running a chown at all? This is a friggin update, and you are potentially screwing around with permissions I put into place. An update like that should NOT be making that kind of change on an established system. I'm running linux. Not even using a docker...I bet you can assume that people installing this on their own linux servers might have a clue on how to administer their own damn machine! Maybe a notice about you wanting to do that. Failing with an error so it it needs changing and we can fix it. I like permissions a certain way so specific users have group access or whatever i want it's my machine. If I set a permission and something breaks, then thats on me. I piss on MS because they like to do shit and when you find out later they tell you it was as a feature for your benefit and no you can't uninstall edge. (well you can, if you try, but beyond the scope of this message) Sorry if I'm a little cranky, but it really annoys me when software thinks it knows something the user doesn't and does what the hell it wants to! You know like this forum software that wants to fight. I can't correct this "from 10.t's" It won't let me put a space and an i there, every time I try it thinks Im making a messed up smiley, deletes the i and goes back to that. UGH F-Ing auto correct. In the time it's taken to write this.....15 or 20 minutes or so, it is STILL doing an f-ing chown! I'm getting ready to pry everything from those dirs and break the damn thing. Here I am down for over an hour now because I was stupid enough to say y to aptitude to upgrade. I suspected with this flurry of updates that there were errors. I had things not loading and other strangeness during this ride up to 10.9.9. So after all that I suppose the big question is WHY would you do that? In place upgrades are working so you don't need to fix anything. And if you're protecting certain files..then why etc log and cache. Sigh </vent> I do feel better getting that off my chest Cheers <update> You see those first two smileys? Wasn't trying for that, and did not show them in the editor, it was a happy surprise for me when I looked at the post. And yes the chown FINALLY finished and things came back up. Eventually. RE: Linux upgrade chown - Fate - 2024-08-08 That chown takes about a second on my system. I would suggest check if your root filesystem if you have a faulty disk. RE: Linux upgrade chown - tepsys - 2024-08-08 Hello, I don't know why chown would be taking so long on these directories. Only two of these directories should have any significant number of files Code: find /var/cache/jellyfin -type f | wc -l And these directories really should be owned by Jellyfin in order for Jellyfin to operate properly. Are you also serving media files from any of these directory trees? Or is there another reason you would be changing ownership of files within these directory trees? Quote: If I set a permission and something breaks, then thats on me. Well, I guess this is one of those times where your system broke because you changed permissions necessary for the system to operate properly. |