Re: FreeBSD Port: serviio-2.4

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Thu, 13 Feb 2025 17:56:38 UTC
Am 2025-02-13 18:34, schrieb Hans J Albertsson:

> So the media database will remain intact?

Serviio has a list of directories to scan. It does scan those 
periodically, at least at each start of the application. The "media 
database" for serviio is just a index of the files in those directories. 
As such the media DB stays sort of intact respectively will be rescanned 
anyway.

If the media files you are serving via serviio are not in the jail 
itself (but in a share on the NAS which is then accessed from the 
serviio-jail, and if the jail is not deleted with the upgrade, the media 
files should not be deleted. The port itself doesn't touch the media 
files in any way. And serviio only accesses them read-only.

> I am completely in the dark about FreeBSD ports so I must ask:
> 
> It says there is no package available, on the net/serviio port page, 
> but you talk about pkg upgrade?
> Where does the package come from?

In the case of TrueNAS: I do not know. "In the same way you got it in 
the first place when you installed it" I would assume.
In terms of FreeBSD itself, deinstall + new install via the port, or 
from a local package build with poudriere are the the only 
possibilities, as the license of serviio doesn't allow to distribute 
packages. You would have to ask this question in a TrueNAS forum to know 
how this is handled there.

Bye,
Alexander.

> Den tors 13 feb. 2025 16:03Alexander Leidinger <netchild@freebsd.org> 
> skrev:
> 
> Am 2025-02-13 15:01, schrieb Hans J Albertsson:
> 
> I have the FreeBSD port of serviio 2.3 installed already in a Jjail on 
> my TrueNAS 13.3 NAS.
> 
> Is there a procedure to upgrade that jail to the 2.4 port w/o losing 
> the database?
> 
> Hello. No idea how TrueNAS is doing this, but a simple pkg upgrade from 
> 2.3 to 2.4 will not lose anything. I do not know if TrueNAS is doing 
> more than that if you update it there. The FreeBSD port itself does not 
> delete stuff.
> 
> Bye,
> Alexander.
> 
> --
> http://www.Leidinger.net Alexander@Leidinger.net: PGP 
> 0x8F31830F9F2772BF
> http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 
> 0x8F31830F9F2772BF

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF