<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Use this script to automate the setup of a live-stream server on Ubuntu 22.04	</title>
	<atom:link href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/</link>
	<description>I never finish anyth</description>
	<lastBuildDate>Wed, 08 Apr 2026 07:48:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
		<item>
		<title>
		By: Hartmut		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-748</link>

		<dc:creator><![CDATA[Hartmut]]></dc:creator>
		<pubDate>Wed, 08 Apr 2026 07:48:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-748</guid>

					<description><![CDATA[Hallo Andre,
danke für die super Umsetzung und Zeit die du investiert hast. 
Gibt es auch eine Variante mit PHP 8.4 und höher?

Gruß Hartmut]]></description>
			<content:encoded><![CDATA[<p>Hallo Andre,<br />
danke für die super Umsetzung und Zeit die du investiert hast.<br />
Gibt es auch eine Variante mit PHP 8.4 und höher?</p>
<p>Gruß Hartmut</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-318</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Sun, 18 May 2025 15:43:34 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-318</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-317&quot;&gt;Said Lamadya&lt;/a&gt;.

Why don&#039;t you share it here? I&#039;m curious...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-317" data-wpel-link="internal">Said Lamadya</a>.</p>
<p>Why don't you share it here? I'm curious...</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Said Lamadya		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-317</link>

		<dc:creator><![CDATA[Said Lamadya]]></dc:creator>
		<pubDate>Wed, 07 May 2025 09:27:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-317</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-299&quot;&gt;Almohtarif plus&lt;/a&gt;.

contact me i can protect your streams allow only domain names you want
+212667400457
TG: @lamadya]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-299" data-wpel-link="internal">Almohtarif plus</a>.</p>
<p>contact me i can protect your streams allow only domain names you want<br />
+212667400457<br />
TG: @lamadya</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-316</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Wed, 17 Jul 2024 16:13:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-316</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-315&quot;&gt;James Tervit&lt;/a&gt;.

I&#039;m sorry but somehow I missed it that this comment was still awaiting approval. I&#039;m ready when you are!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-315" data-wpel-link="internal">James Tervit</a>.</p>
<p>I'm sorry but somehow I missed it that this comment was still awaiting approval. I'm ready when you are!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-315</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Thu, 23 May 2024 08:54:07 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-315</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-308&quot;&gt;ustoopia&lt;/a&gt;.

Hi A I am ready to do this after upgrading my network and making it more stable. let me know when your ready, I will syndicate this from your site and on my forum https://forum.diode.io you can see my posts on various blockchain services with embedded devices and private cloud infrastructure.  look forward to doing this finally]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-308" data-wpel-link="internal">ustoopia</a>.</p>
<p>Hi A I am ready to do this after upgrading my network and making it more stable. let me know when your ready, I will syndicate this from your site and on my forum https://forum.diode.io you can see my posts on various blockchain services with embedded devices and private cloud infrastructure.  look forward to doing this finally</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Melynxis		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-314</link>

		<dc:creator><![CDATA[Melynxis]]></dc:creator>
		<pubDate>Mon, 13 May 2024 15:38:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-314</guid>

					<description><![CDATA[The Funny part, Im wanting to do kinda the opposite of everyone... I actually want to disable the main website, but still use the m3u8 playlist option, any guidance on how to do this if its possible? My main reason for this I dont need the main page persay, as most of my viewers would use the m3u8 playlist option and not the direct https:// website. And the media server is doing everything I could ask for it.  I actually use it to feed a preset audio/video stream into a private instance within a VR homeworld i use in VRchat, so most of the consumption of the information is pulled in there.]]></description>
			<content:encoded><![CDATA[<p>The Funny part, Im wanting to do kinda the opposite of everyone... I actually want to disable the main website, but still use the m3u8 playlist option, any guidance on how to do this if its possible? My main reason for this I dont need the main page persay, as most of my viewers would use the m3u8 playlist option and not the direct https:// website. And the media server is doing everything I could ask for it.  I actually use it to feed a preset audio/video stream into a private instance within a VR homeworld i use in VRchat, so most of the consumption of the information is pulled in there.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-313</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Wed, 21 Feb 2024 00:28:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-313</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-309&quot;&gt;ustoopia&lt;/a&gt;.

awesome]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-309" data-wpel-link="internal">ustoopia</a>.</p>
<p>awesome</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-312</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Wed, 21 Feb 2024 00:28:05 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-312</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-310&quot;&gt;ustoopia&lt;/a&gt;.

I dont blame you its a rabbit hole. I ran your script on a clean VM and it works great]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-310" data-wpel-link="internal">ustoopia</a>.</p>
<p>I dont blame you its a rabbit hole. I ran your script on a clean VM and it works great</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-311</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Wed, 21 Feb 2024 00:27:13 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-311</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-308&quot;&gt;ustoopia&lt;/a&gt;.

Hi A,

awesome lets collaborate over a video teams conf, I can send the invite and we can work through how to do the workflow, this will be a great post and will blow up your blog, I guarantee it. with your automation capability and my testing blockchain it will be great.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-308" data-wpel-link="internal">ustoopia</a>.</p>
<p>Hi A,</p>
<p>awesome lets collaborate over a video teams conf, I can send the invite and we can work through how to do the workflow, this will be a great post and will blow up your blog, I guarantee it. with your automation capability and my testing blockchain it will be great.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-310</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Mon, 19 Feb 2024 08:55:43 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-310</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-307&quot;&gt;James Tervit&lt;/a&gt;.

To be honest I have never really delved in what you call lxc terrirory. So this all is new to me. I&#039;ll need to dive into this before I completely understand (thats because of how my brain is wired).
I will look into this because I&#039;m always interested in things I have no knowledge of yet. I&#039;m afraid I&#039;m not confident enough at this moment to answer your last question. But I&#039;ll get back to you when I do.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-307" data-wpel-link="internal">James Tervit</a>.</p>
<p>To be honest I have never really delved in what you call lxc terrirory. So this all is new to me. I'll need to dive into this before I completely understand (thats because of how my brain is wired).<br />
I will look into this because I'm always interested in things I have no knowledge of yet. I'm afraid I'm not confident enough at this moment to answer your last question. But I'll get back to you when I do.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-309</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Mon, 19 Feb 2024 08:51:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-309</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-306&quot;&gt;James Tervit&lt;/a&gt;.

Great idea :-) And I already did. It will now stop the script and display an error that something went wrong with installing snap. Right before the step where it creates the symlink for snap.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-306" data-wpel-link="internal">James Tervit</a>.</p>
<p>Great idea 🙂 And I already did. It will now stop the script and display an error that something went wrong with installing snap. Right before the step where it creates the symlink for snap.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-308</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Mon, 19 Feb 2024 08:49:29 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-308</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-305&quot;&gt;James Tervit&lt;/a&gt;.

That&#039;s an interesting idea. I&#039;d be very Ok with creating an account for you on this website so you can write posts on the subject.  That would actually be really great! Perhaps we should handle the details via email to make this happen?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-305" data-wpel-link="internal">James Tervit</a>.</p>
<p>That's an interesting idea. I'd be very Ok with creating an account for you on this website so you can write posts on the subject.  That would actually be really great! Perhaps we should handle the details via email to make this happen?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-307</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 23:31:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-307</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-306&quot;&gt;James Tervit&lt;/a&gt;.

Ok I dug further into lxc territory and found that you have to enable nesting in an unprivileged container

- For unprivileged containers:
1) Put this in /etc/pve/lxc/&lt;b&gt;vmid&lt;/b&gt;.conf: (change to the vmid like 100.conf)
Code:
...
features: mount=fuse,nesting=1
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0
2) Inside the container: `apt install squashfuse`

- For privileged containers, also add:
Code:
...
# EDIT:
# We need to allow apparmor administration, by default mac_admin is dropped for privileged containers.
# Note that you do not want this for un-trusted containers...
lxc.cap.drop =
lxc.cap.drop = mac_override sys_time sys_module sys_rawio
Alternatively to squashfuse, privileged containers could use loop devices, but I wouldn&#039;t recommend it...


Note that enabling `fuse` in a container does not play well with backups, or anything that causes an `lxc-freeze` command to be executed on the container, as this can cause deadlocks in the kernel...

how to force a reinstall of everything or reset it to run the script again?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-306" data-wpel-link="internal">James Tervit</a>.</p>
<p>Ok I dug further into lxc territory and found that you have to enable nesting in an unprivileged container</p>
<p>- For unprivileged containers:<br />
1) Put this in /etc/pve/lxc/<b>vmid</b>.conf: (change to the vmid like 100.conf)<br />
Code:<br />
...<br />
features: mount=fuse,nesting=1<br />
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0<br />
2) Inside the container: `apt install squashfuse`</p>
<p>- For privileged containers, also add:<br />
Code:<br />
...<br />
# EDIT:<br />
# We need to allow apparmor administration, by default mac_admin is dropped for privileged containers.<br />
# Note that you do not want this for un-trusted containers...<br />
lxc.cap.drop =<br />
lxc.cap.drop = mac_override sys_time sys_module sys_rawio<br />
Alternatively to squashfuse, privileged containers could use loop devices, but I wouldn't recommend it...</p>
<p>Note that enabling `fuse` in a container does not play well with backups, or anything that causes an `lxc-freeze` command to be executed on the container, as this can cause deadlocks in the kernel...</p>
<p>how to force a reinstall of everything or reset it to run the script again?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-306</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 23:08:34 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-306</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-305&quot;&gt;James Tervit&lt;/a&gt;.

root@media-server:~# snap
Command &#039;snap&#039; not found, but can be installed with:
apt install snapd
root@media-server:~# 
 bingo, maybe add in your script a check for snap as a dependency?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-305" data-wpel-link="internal">James Tervit</a>.</p>
<p>root@media-server:~# snap<br />
Command 'snap' not found, but can be installed with:<br />
apt install snapd<br />
root@media-server:~#<br />
 bingo, maybe add in your script a check for snap as a dependency?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-305</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 23:07:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-305</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-304&quot;&gt;ustoopia&lt;/a&gt;.

I think snap wasnt available on the lxc thats where it craps out.  Good catch and hope it reduces complaints or issues. I have forked your script and will look to add in the blockchain stuff, it will take some working through.  I would love to then make a joint blog here in ustoopia to create a series of how people can decentralise a lot of stuff.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-304" data-wpel-link="internal">ustoopia</a>.</p>
<p>I think snap wasnt available on the lxc thats where it craps out.  Good catch and hope it reduces complaints or issues. I have forked your script and will look to add in the blockchain stuff, it will take some working through.  I would love to then make a joint blog here in ustoopia to create a series of how people can decentralise a lot of stuff.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ustoopia		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-304</link>

		<dc:creator><![CDATA[ustoopia]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 10:44:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-304</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-303&quot;&gt;James Tervit&lt;/a&gt;.

That&#039;s something I didn&#039;t come across during testing. The script does clearly install certbot using snap. Is this perhaps where things went wrong for you?
This is what is in the script, and should make it work in any cases:

# Install Snap core first so we can then install Certbot
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
# Create a link to certbot so we can use it later on
sudo ln -s /snap/bin/certbot /usr/bin/certbot

But since you pointed this out, I&#039;ve added a couple of lines to the script that will check to see if certbot was installed or not.

# Check if certbot command exists (indicating successful installation)
if ! command -v certbot &#038;&#062; /dev/null; then
    echo &quot;Error: Certbot was not installed properly. Exiting.&quot;
    exit 1
fi]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-303" data-wpel-link="internal">James Tervit</a>.</p>
<p>That's something I didn't come across during testing. The script does clearly install certbot using snap. Is this perhaps where things went wrong for you?<br />
This is what is in the script, and should make it work in any cases:</p>
<p># Install Snap core first so we can then install Certbot<br />
sudo snap install core; sudo snap refresh core<br />
sudo snap install --classic certbot<br />
# Create a link to certbot so we can use it later on<br />
sudo ln -s /snap/bin/certbot /usr/bin/certbot</p>
<p>But since you pointed this out, I've added a couple of lines to the script that will check to see if certbot was installed or not.</p>
<p># Check if certbot command exists (indicating successful installation)<br />
if ! command -v certbot &amp;&gt; /dev/null; then<br />
    echo "Error: Certbot was not installed properly. Exiting."<br />
    exit 1<br />
fi</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-303</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 03:59:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-303</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-302&quot;&gt;James Tervit&lt;/a&gt;.

just one thing I noticed on a virgin ubuntu lxc with no certbot ti complains of sudo: certbot: command not found]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-302" data-wpel-link="internal">James Tervit</a>.</p>
<p>just one thing I noticed on a virgin ubuntu lxc with no certbot ti complains of sudo: certbot: command not found</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Tervit		</title>
		<link>https://www.ustoopia.nl/technical/use-this-script-to-automate-the-setup-of-a-live-stream-server-on-ubuntu-22-04/#comment-302</link>

		<dc:creator><![CDATA[James Tervit]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 03:29:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.ustoopia.nl/?p=5885#comment-302</guid>

					<description><![CDATA[thanks for all your work here, amazing easy to spin up on proxmox]]></description>
			<content:encoded><![CDATA[<p>thanks for all your work here, amazing easy to spin up on proxmox</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
