Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #420: Feature was not beta tested


rocksolid / Rocksolid Nodes Help / debian-upgrade sed doesn't find files

SubjectAuthor
* debian-upgrade sed doesn't find filesMarco Moock
`* Re: debian-upgrade sed doesn't find filesRay Banana
 `- Re: debian-upgrade sed doesn't find filesRetro Guy

1
Subject: debian-upgrade sed doesn't find files
From: Marco Moock
Newsgroups: rocksolid.nodes.help
Organization: A noiseless patient Spider
Date: Wed, 17 Apr 2024 07:21 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: debian-upgrade sed doesn't find files
Date: Wed, 17 Apr 2024 09:21:06 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uvnt93$1en2v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 09:21:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="45fccf1064169e7c620e1ae9785240d6";
logging-data="1530975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gbyLazCCcMBhqGiyYbo4o"
Cancel-Lock: sha1:ILcaiyQVFc9Ixsbwbs6WgucyJlU=
View all headers

Hello!

When running the upgrade script, I get the following error messages,
although those files exist.

+ echo -n 'Applying configuration...'
Applying configuration...
+ sed -i '' -e 's|<version>|0.9.8|' /var/www/html/common/config.inc.php
sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
+ sed -i '' -e 's|<spooldir>|/var/spool/rslight/|' /var/www/html/common/config.inc.php
sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
+ sed -i '' -e 's|<config_dir>|/etc/rslight/|' /var/www/html/common/config.inc.php
sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
+ sed -i '' -e 's|<webserver_user>|www-data|' /etc/rslight/upgrade/rslight.inc.php
sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden

--
kind regards
Marco

Send spam to 1713337944muell@cartoonies.org

Subject: Re: debian-upgrade sed doesn't find files
From: Ray Banana
Newsgroups: rocksolid.nodes.help
Organization: A noiseless patient spider
Date: Wed, 17 Apr 2024 08:57 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!raybanana.eternal-september.org!.POSTED!not-for-mail
From: rayban@raybanana.net (Ray Banana)
Newsgroups: rocksolid.nodes.help
Subject: Re: debian-upgrade sed doesn't find files
Date: Wed, 17 Apr 2024 10:57:31 +0200
Organization: A noiseless patient spider
Lines: 16
Message-ID: <8mle5c74ec.fsf@raybanana.net>
References: <uvnt93$1en2v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Apr 2024 10:57:32 +0200 (CEST)
Injection-Info: raybanana.eternal-september.org; posting-host="26089369c7bcbd4682a865b12ed44670";
logging-data="1595377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Oa7e3kTfc30kXrBB4/vPJpAAFXR+ftiM="
User-Agent: Plonkenlights
Cancel-Lock: sha1:M6uvo+e4JS2WSHd9m+RBIink+z4=
sha1:e58Y1f65m136oBK4Vvl7i3vGKmM=
X-Attribution: Ray Banana
View all headers

Thus spake Marco Moock <mm+usenet-es@dorfdsl.de>
> Hello!
> When running the upgrade script, I get the following error messages,
> although those files exist.
> + echo -n 'Applying configuration...'
> Applying configuration...
> + sed -i '' -e 's|<version>|0.9.8|' /var/www/html/common/config.inc.php
> sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden

You need to remove the '' in the sed command. Same problem on RedHat.

--
Пу́тін — хуйло́
https://www.eternal-september.org

Subject: Re: debian-upgrade sed doesn't find files
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Wed, 17 Apr 2024 10:34 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: debian-upgrade sed doesn't find files
Date: Wed, 17 Apr 2024 03:34:06 -0700
Organization: Rocksolid Light
Message-ID: <48f3ed0b8efd9447a0f40c2c7a3fdd99$1@invalid.invalid>
References: <uvnt93$1en2v$1@dont-email.me> <8mle5c74ec.fsf@raybanana.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="1446726"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: 40tude_Dialog/2.0.15.41
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Wed, 17 Apr 2024 10:57:31 +0200, Ray Banana wrote:

> Thus spake Marco Moock <mm+usenet-es@dorfdsl.de>
>
>> Hello!
>> When running the upgrade script, I get the following error messages,
>> although those files exist.
>> + echo -n 'Applying configuration...'
>> Applying configuration...
>> + sed -i '' -e 's|<version>|0.9.8|' /var/www/html/common/config.inc.php
>> sed: kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
>
> You need to remove the '' in the sed command. Same problem on RedHat.

Thanks for that info. These lines were actually written for bsd, but I
found they worked in Linux (Debian anyway). I see the error, but it works.

Since I've dropped bsd specific support, I guess I should remove the ''

1

rocksolid light 0.9.8
clearnet tor