Date: Thu, 13 Feb 2025 18:56:38 +0100 From: Alexander Leidinger <netchild@FreeBSD.org> To: Hans J Albertsson <hans.j.albertsson@gmail.com> Cc: "ports@FreeBSD.org" <ports@freebsd.org> Subject: Re: FreeBSD Port: serviio-2.4 Message-ID: <8a97e4a0c88d3ecb61cc472fc5bd385b@FreeBSD.org> In-Reply-To: <CA%2Bq0GfdHwfaMDdKXm38qApJRc9TiB%2BRag-E36aBrm6cmQWF3Hw@mail.gmail.com> References: <DB9PR02MB89113B696E44FE42646BC0CCAEFF2@DB9PR02MB8911.eurprd02.prod.outlook.com> <bd47deff39d94c2204da8282535a17f5@FreeBSD.org> <CA%2Bq0GfdHwfaMDdKXm38qApJRc9TiB%2BRag-E36aBrm6cmQWF3Hw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_07ec4af03f90ceb7fd425c9af877c90c Content-Type: multipart/alternative; boundary="=_87f30c1c0785ca9308310d66e85b2ea8" --=_87f30c1c0785ca9308310d66e85b2ea8 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 --=_87f30c1c0785ca9308310d66e85b2ea8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p id=3D"reply-intro">Am 2025-02-13 18:34, schrieb Hans J Albertsson:</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"replybody1"> <p dir=3D"ltr">So the media database will remain intact?</p> </div> </blockquote> <div id=3D"replybody1"> <p dir=3D"ltr">Serviio has a list of directories to scan. It does scan thos= e periodically, at least at each start of the application. The "media datab= ase" 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.</= p> <p dir=3D"ltr">If the media files you are serving via serviio are not in th= e jail itself (but in a share on the NAS which is then accessed from the se= rviio-jail, and if the jail is not deleted with the upgrade, the media file= s should not be deleted. The port itself doesn't touch the media files in a= ny way. And serviio only accesses them read-only.</p> </div> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"replybody1"> <p dir=3D"ltr">I am completely in the dark about FreeBSD ports so I must as= k:</p> <p dir=3D"ltr">It says there is no package available, on the net/serviio po= rt page, but you talk about pkg upgrade?<br />Where does the package come f= rom?</p> </div> </blockquote> <div>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.</div> <div>In terms of FreeBSD itself, deinstall + new install via the port, or f= rom a local package build with poudriere are the the only possibilities, as= the license of serviio doesn't allow to distribute packages. You would hav= e to ask this question in a TrueNAS forum to know how this is handled there= =2E</div> <div> </div> <div>Bye,<br />Alexander.</div> <div> </div> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div><br /> <div class=3D"v1gmail_quote v1gmail_quote_container"> <div class=3D"v1gmail_attr" dir=3D"ltr">Den tors 13 feb. 2025 16:03Alexande= r Leidinger <<a href=3D"mailto:netchild@freebsd.org" rel=3D"noreferrer">= netchild@freebsd.org</a>> skrev:</div> <blockquote class=3D"v1gmail_quote" style=3D"margin: 0 0 0 .8ex; border-lef= t: 1px #ccc solid; padding-left: 1ex;"> <div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;"> <p id=3D"v1m_8275627641915212097reply-intro">Am 2025-02-13 15:01, schrieb H= ans J Albertsson:</p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"> <div id=3D"v1m_8275627641915212097replybody1" dir=3D"ltr"> <div style=3D"font-family: Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cal= ibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">I have the Fre= eBSD port of serviio 2.3 installed already in a Jjail on my TrueNAS 13.3 NA= S.</div> <div style=3D"font-family: Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cal= ibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;"> </div> <div style=3D"font-family: Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cal= ibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">Is there a pro= cedure to upgrade that jail to the 2.4 port w/o losing the database?</div> </div> </blockquote> <p>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 t= han that if you update it there. The FreeBSD port itself does not delete st= uff.</p> <p>Bye,<br />Alexander.</p> <div id=3D"v1m_8275627641915212097signature">-- <br /> <div style=3D"margin: 0; padding: 0; font-family: monospace;"><a href=3D"ht= tp://www.Leidinger.net" target=3D"_blank" rel=3D"noopener noreferrer">http:= //www.Leidinger.net</a> <a href=3D"#NOP">Alexander@Leidinger.net:</a> PGP 0= x8F31830F9F2772BF<br /><a href=3D"http://www.FreeBSD.org" target=3D"_blank"= rel=3D"noopener noreferrer">http://www.FreeBSD.org</a> <a hre= f=3D"mailto:netchild@FreeBSD.org" rel=3D"noreferrer">netchild@FreeBSD.org</= a> : PGP 0x8F31830F9F2772BF</div> </div> </div> </blockquote> </div> </div> </blockquote> <p><br /></p> <div id=3D"signature">-- <br /> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= <a href=3D"http://www.Leidinger.net" target=3D"_blank" rel=3D"noopener nore= ferrer">http://www.Leidinger.net</a> <a href=3D"mailto:Alexander@Leidinger.= net:">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br /><a href=3D"h= ttp://www.FreeBSD.org" target=3D"_blank" rel=3D"noopener noreferrer">http:/= /www.FreeBSD.org</a> <a href=3D"mailto:netchild@FreeBSD.org">n= etchild@FreeBSD.org</a> : PGP 0x8F31830F9F2772BF</div> </div> </body></html> --=_87f30c1c0785ca9308310d66e85b2ea8-- --=_07ec4af03f90ceb7fd425c9af877c90c Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmeuMmUACgkQEg2wmwP4 2Ia40Q//SQ9X7w74CvF7YjQ3/1kvM5Jh70+dLDR2X0k3dNEzfEVxM6yKKJUNAuvx XuKNYhYfWM9vx1a6K/wGEI8LDHKxcxcU9zX49ZUtPlQRZBrTsfqImvquoSLO4x3O 1d+UJrE2CnbFqYdLGvUE2KeYda8Il5+ktm+HD2NX8CuICcp5mxWWjBn/EAYASHdO U/RvUIGUiqMBxPQEXnxxqNuDVSEYnvphanFEuDz8No4cFHlBjiv1Vj+voQrLFEUb uVeD9dfd//Txlj6F67rep61ipQoVsA0Y4t17o9Do+Xm7y+mGtjXrxTOLUt+23lJ3 sTb11jdze29lgow7BfNMrP0rSzucuT/+Sl5WG7H8W6A9Alfv2LLJUxR1bVh8DaGF 10qRFZXxEJzwrfBGIo1gzZObTAafW4bml9CXr/y79BmBBVz28NG5wuGRynYuFT+Z ylWftQsDD/5lBTU1eipDEJeX6zfB1RHmVcaZ2o3CkZ58HDydUGww8peHV3L511JO cqDtHLb2MVeBx1hTtLDAufFINoao6ipqYuGXpUIBs4Ig0jb2Xn7caV/IsAsryBC+ tc1efKbRE/wzbpqr6rPRLibtcJo4W+4XA2+Zh/wOepqm58+A2bszVUzb88Ictr5k WbRq6wleqQsgItVbY/zBmpf6aJRDIiguEtgzJJP7abgRiDZPlec= =CUFx -----END PGP SIGNATURE----- --=_07ec4af03f90ceb7fd425c9af877c90c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a97e4a0c88d3ecb61cc472fc5bd385b>