From nobody Thu Feb 13 17:56:38 2025 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yv2vW0t9Sz5n48j for ; Thu, 13 Feb 2025 17:57:27 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yv2vW0NM4z40tM; Thu, 13 Feb 2025 17:57:27 +0000 (UTC) (envelope-from netchild@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739469447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ycAGXUd0yMRJyAwV5qQi5XIg0MTx8ur039pacOlsZxM=; b=MAd5Y0QXN0IrkOHPx22ZSSzqDzlNy3tUpiwMFEVL0jJ6oI1sFdDvQpPizRFQwUaFldaXwq 8B/V+dRFc6JHnaIVxKl6QGfmyeG22NxoK5h2DXzG2Fb6Mg1j7TUOwjC0e4pXU8egt/V73A Uuwoz/pqoq9XyTzE9f7esgUJA/CxMDttQXJWqcG1rd0vM0X8ZTFIGl14yxH0YGiEk7+5jb a0wkP0nIGWmvvqoqSpWCNgEOzxfskmHPNRWIL5XHhWZ934ZUwP6YbyiFvxr7FHRiN82Gxv 6BeWUkM0YD/SEyjryY5ok7wMUNyd23qgFNsfo7RLo8g7s28zL+JEKo2C7sFMhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739469447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ycAGXUd0yMRJyAwV5qQi5XIg0MTx8ur039pacOlsZxM=; b=WjdG+V6DrgWaf6gtDzrjiwP0HBYJyNtpeEvdV91cN3Kg/DqfBYzObw6ZQspdFcxNg1QTOb Tl+PLrHKlUBCc3jCYMD6U5bYNmZh/KQcv89xUla+P51NofzI/REHlWwrq+WC4Wi4pwZoFQ XP8NxPYT7qMfRXpvUVrSjINXKkaZ0bzO6wbz/KXrK/MR4Am6lpI7C3nqkf/Z9b5xD5Xob6 UuPV8XKvR87YA6mFRffFoPBAVA9BmjgNDAVwUkSyeuxEqg/r97S6ZQIBuLrv8a73uLelpB JmSp3C9Zt1HME2xEUUBTi05Wb+vTCtw+W8woVftG02NB3WCnSh+LAuV8U048Sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739469447; a=rsa-sha256; cv=none; b=Itl7aMWOnlHX2agsVLhltqUNBelQnM7nTvf1Xf1MrcWIvfdtGJj3O9Ra5Jb0bXMYzYqhJN 1wUsw9tWeqt7S8Ke8QBwS7v2gHP8INHVIG9S0uauofXtEnyl7wLBYQrybW3u93Iw5wrZYj pE/ZBPAjzpwkMeEjDPUUFNxSd6Q+JCNt4c+aX34rCtWQQ52jy0p+fDhDUOwNG0oQijwomY 7J2/SqFR8OR2rUIds/GWD3bviIEc/z93/62RWdYgBBUIjVULnQG7j+HeD+P3SAruxMXee8 v2J+a3XvcXa4/fjB0vKtMCom8bZucwFjuWdbXMO5R95P6Y4FRLcVZ8Fach7u2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from outgoing.leidinger.net (p508d4604.dip0.t-ipconnect.de [80.141.70.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "outgoing.leidinger.net", Issuer "E5" (verified OK)) (Authenticated sender: netchild) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yv2vV3Qp3z1Rpv; Thu, 13 Feb 2025 17:57:26 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from webmail.leidinger.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: alexander@leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 80F094580; Thu, 13 Feb 2025 18:56:54 +0100 (CET) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Date: Thu, 13 Feb 2025 18:56:38 +0100 From: Alexander Leidinger To: Hans J Albertsson Cc: "ports@FreeBSD.org" Subject: Re: FreeBSD Port: serviio-2.4 In-Reply-To: References: Message-ID: <8a97e4a0c88d3ecb61cc472fc5bd385b@FreeBSD.org> Organization: FreeBSD Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_07ec4af03f90ceb7fd425c9af877c90c"; micalg=pgp-sha256 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 > 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

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 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.

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.

I am completely in the dark about FreeBSD ports so I must as= k:

It says there is no package available, on the net/serviio po= rt page, but you talk about pkg upgrade?
Where does the package come f= rom?

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 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
 
Bye,
Alexander.
 

Den tors 13 feb. 2025 16:03Alexande= r Leidinger <= netchild@freebsd.org> skrev:

Am 2025-02-13 15:01, schrieb H= ans J Albertsson:

I have the Fre= eBSD port of serviio 2.3 installed already in a Jjail on my TrueNAS 13.3 NA= S.
 
Is there a pro= cedure 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 t= han that if you update it there. The FreeBSD port itself does not delete st= uff.

Bye,
Alexander.


--=_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--