Regarding Poland and their current global embarrassment

found on fefe’s blog
source: fogel
They are essential for the internet to function, yet completely transparent for “normal peopleâ€
yet when something happens – the fallout usually is is significant :)
so when facebook kinda removed themselves from the internet yesterday, I realized two things:


I don’t care for the problems of a multinational social network facilitating hate and abuse on a global scale
but I do care for the poor sods who have been tasked with running this networ, who have to clean up this mess now and probably have to endure hours and hours of executive whining for the coming weeks. Not even starting about the snark of the entire internet and all their competitors. I mean, the memes are actually brilliant 😇
You people have my compassion. Also:

humans are just.. so easy to manipulate. I am 100% guilty of this, myself.
The internet hive-mind is slowly starting to understand which gives me a little hope.
Also, it is probably not a good thing to judge the popolation by their memes.. or is it?
It is Sunday. I will make pancakes and ignore greedy humans for today.


so I spent a few days moving my plex server to the QNAP but somehow the gtx1050 that I had for transcoding won’t … transcode.
it is being detected, after installing the kernel driver and nvidia driver (in that order)
$ gpuhal_app -l
1:NVIDIA Corporation:GP107 [GeForce GTX 1050 Ti]:external:7
index is 1 so this command shows what it can do:
$ gpuhal_app -s 1
active_status=2,real_status=2,driverqpkg=NVIDIA_GPU_DRV,driver_installed=1,in_used=none,transcode=1,display=1,pcie_slot=1,pcie_vp=1,va_type=none
so why does plex not use it?
So ChuckPa from the plex forums wrote how to force the card but in the end it was:
verify via plex dash (hw means the transcoder is using the GPU or some other form of hardware acceleration.. something intel users might be able to use)

So, lucky me got his hands on a shiny qnap NAS with a ryzen processor and M.2 SSDs next to spinning disks so I can run everything on that box.
Of course re-installing Plex is annoying and takes way too much time so let’s see if we can do this smart.
I am using the official Plex manual and the post at dachs.blog as reference here (next to 10 years of experience and pain on my end when it comes to metadata failure)
DISCLAIMER: despite some angry shouting from a few security conscious nerds in the forums, it seems that Plex is still running with admin privileges on the QNAP so if you intend to access your NAS from the internet, doing the following is probably NOT a good idea. You should/could containerize plex or put it into a VM and create a proper perimeter but the default installation will use Admin privileges and 777 for all files.
You have been warned. /DISCLAIMER
simple. Via App Center (plex is there but sometimes 1 or 2 versions behind) or manual install – QTS 4.3 and better run Intel/x64 images so that’s a no brainer.

If you have SSDs make sure you install on them, if possible use a SSD RAID. Plex produces a LOT of small files. (450000 on my system). Running Plex server on your NAS disks will NOT perform well.
After install, plex will live in the directory /.qpkg/PlexMediaServer on your system volume.
Stop the server immediately – like, before you claim it.
For the rest of this install I will assume the following:
So we want one share for the media and one for the medadata. Via Settings > Privilege > Shared Folders this can be achieved.
First one is for the metadata, we can kill/disable this later but it is needed for rsync

second one is for the media – in that case the path is irrelevant, just point it to the volume.

Important: for both shares, disable “Windows Previous Versions” and “Network Recycle Bin”. Useless overhead for our purposes.

you should be able to access the shares via SMB and SSH now. Test it. WinSCP or Nautilus connect > ssh://[QNAP_IPADDRESS] and smb://[QNAP_IPADDRESS] (log in as admin or – if you are a “good user”, the proper credentials for this share)
Preparation: On your source Plex Media Server, you’ll want to disable the “Empty trash automatically after every scan” preference for the Server. (under Settings > Library)
On the destination system, sign out of your account under Settings > Server > General in Plex Web App and (if you have not done it before) stop the server using QTS AppCenter > PlexMediaServer > Stop
Access the share and rename the directory “Plex Media Server” (inside /share/PMS_META/Library) to something else (like add -OLD to it or whatever) – important is, that you save the file “Preferences.xml” inside it.
Copy/rsync all media over to the destination system – I used rsync for this, make sure you test using the –dry-run flag before you mess up your shares beyond repair. Oh. and mind trailing slashes when playing with Linux shares ^ ^
rsync -ahv /media/plex/ admin@[QNAP_IPADRESS]:/share/media --progress --stats --dry-run
not using -z because on my network this has no speed benefit. Maybe with 256k lines it will? Also I enable -v and –progress so I can see what is happening. This can take hours, if not days.. so run it in a screen session or make sure your connection is not interrupted.
same for the metadata. Note the missing / at the end of the source? This is because on QNAP there is no folder “Application Support” and the data has to go directly into “Library/Plex Media Server” – so far this is the only difference between Linux Plex and QNAP
rsync -ahv /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server admin@[QNAP_IPADRESS]:/share/PMS_META/ --progress --stats --dry-run
Start the server again. (QNAP AppCenter > Start). Claim the server if you haven’t done so. The libraries should show up but should not work, yet. so let’s fix this
Under Settings > Server > General in Plex Web App, sign out of the server (if you’re signed in) and then sign back in. This will update connection information for your apps to use and will also ensure you have a valid certificate to make use of secure connections.
In order to update the content location for your media, you’ll need to Edit a library and then add the appropriate folder for where your content is located on the destination system. Leave the existing/previous folder location in there for now.
QNAP filesystem should show your media share > add it to the existing drive. Save and plex should start associating the media with the new location. If it doesn’t, hit the “Scan Library Files” button.
You’ll need to do this for each of your libraries, but you should complete the full process here for a single library before proceeding to do the process for the next library.
Once everything works, remove the old locations.
You can do some final maintenance to clean things up and ensure your server is running as quickly as possible. Perform the following library actions, in this order (and wait for them to complete before proceeding to the next):
This .. this is fascism. It is the same energy that gets people to kill other people because of whatever doesn’t fit in their little world. I wonder how many of those are trolling / riding the wave for their own agenda (destroy the government / just watch things burn) and how many are serious about this.
Yes, you have to wake up.. but not to a global conspiracy that is out to control you.. but to a global conspiracy of the fascists who are already controlling you.

if you are in this picture, you support fascism and you should stop while you still can. In the end we (the non-fascists) always win and you will inevitably suffer for your atrocities.
Quit while you can, I beg you. Listen to science and reason.
so I have been using theme twenty eleven for.. heh.. 10 years :)
turns out it is not compatible with modern browsers/OSs using dynamic light/dark theme. in particular the “code” block that I frequetly use causes certain browsers to display dark text on dark background.. and that changes depending on the time of the day depending on the user OS and/or browser.. which is too much for me too look into.
so I am changing the site back from dark/orange to light as the OS / the browser apparently wants to decide to invert the colors – time to find a new theme, I guess. It’s been fun, thank you <3