Unable to complete quick install

Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Unable to complete quick install

Beitrag von Taomyn »

After a few years I've come back to see how Opsi is progressing, but I'm unable to complete the quick install.

I have a new Debian 12 machine, downloaded the opsi-quickinstall.zip and unzip'd it. I then go to nogui directory and execute 'sudo ./opsi_quick_install_project -n'. After choosing standard and answering the questions, the installer reports failure.

Code: Alles auswählen

Installing l-opsi-server:
Please wait for the installation to start... (This may take some minutes)
Downloading latest l-opsi-server... (This may take some minutes)
Installing l-opsi-server_4.3.0.7-2... (This may take some minutes)
Installation failed.
Installation of opsi 4.3 failed!
Looking at the log I see this is reported:

Code: Alles auswählen

[6] [2024-08-28 09:41:50.544] [] Start process as invoker: root
[6] [2024-08-28 09:41:50.544] [] Started process "/bin/bash" with Opt: /tmp/_opsiscript_9RH1k2fr8P.cmd
[7] [2024-08-28 09:41:51.377] [] 
[7] [2024-08-28 09:41:51.377] [] output:
[7] [2024-08-28 09:41:51.377] [] --------------
[7] [2024-08-28 09:41:51.377] [] + export http_proxy=
[7] [2024-08-28 09:41:51.377] [] + http_proxy=
[7] [2024-08-28 09:41:51.377] [] + export https_proxy=
[7] [2024-08-28 09:41:51.377] [] + https_proxy=
[7] [2024-08-28 09:41:51.378] [] + export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
[7] [2024-08-28 09:41:51.378] [] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
[7] [2024-08-28 09:41:51.378] [] + export DEBIAN_FRONTEND=noninteractive
[7] [2024-08-28 09:41:51.378] [] + DEBIAN_FRONTEND=noninteractive
[7] [2024-08-28 09:41:51.378] [] + EXITCODE=0
[7] [2024-08-28 09:41:51.378] [] + '[' '!' -f /usr/local/share/keyrings/opsi-obs.gpg ']'
[7] [2024-08-28 09:41:51.378] [] + wget --no-check-certificate -O - http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12/Release.key
[7] [2024-08-28 09:41:51.378] [] --2024-08-28 09:41:50--  http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12/Release.key
[7] [2024-08-28 09:41:51.378] [] Resolving download.opensuse.org (download.opensuse.org)... + apt-key add -
[7] [2024-08-28 09:41:51.378] [] Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
[7] [2024-08-28 09:41:51.378] [] 195.135.223.226
[7] [2024-08-28 09:41:51.378] [] Connecting to download.opensuse.org (download.opensuse.org)|195.135.223.226|:80... connected.
[7] [2024-08-28 09:41:51.378] [] HTTP request sent, awaiting response... 404 Not Found
[7] [2024-08-28 09:41:51.378] [] 2024-08-28 09:41:50 ERROR 404: Not Found.
[7] [2024-08-28 09:41:51.378] [] gpg: no valid OpenPGP data found.
[7] [2024-08-28 09:41:51.378] [] + '[' 2 -ne 0 ']'
[7] [2024-08-28 09:41:51.378] [] + EXITCODE=1
[7] [2024-08-28 09:41:51.378] [] + mkdir -p /usr/local/share/keyrings/
[7] [2024-08-28 09:41:51.378] [] + REPO_URL=https://packages.grafana.com
[7] [2024-08-28 09:41:51.378] [] + REPO_KEY=/usr/local/share/keyrings/grafana.key
[7] [2024-08-28 09:41:51.378] [] + GRAFANA_REPO=https://packages.grafana.com/oss
[7] [2024-08-28 09:41:51.378] [] + [[ https://packages.grafana.com/oss == *\p\a\c\k\a\g\e\s* ]]
[7] [2024-08-28 09:41:51.378] [] + echo 'deb [signed-by=/usr/local/share/keyrings/grafana.key] https://packages.grafana.com/oss/deb stable main'
[7] [2024-08-28 09:41:51.378] [] + '[' '!' -f /usr/local/share/keyrings/grafana.key ']'
[7] [2024-08-28 09:41:51.378] [] + apt-get update
[7] [2024-08-28 09:41:51.378] [] Ign:1 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12 ./ InRelease
[7] [2024-08-28 09:41:51.378] [] Err:2 http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12 ./ Release
[7] [2024-08-28 09:41:51.378] []   404  Not Found [IP: 195.135.223.226 80]
[7] [2024-08-28 09:41:51.378] [] Hit:3 http://deb.debian.org/debian bookworm InRelease
[7] [2024-08-28 09:41:51.378] [] Hit:4 http://security.debian.org bookworm-security InRelease
[7] [2024-08-28 09:41:51.378] [] Hit:5 http://deb.debian.org/debian bookworm-updates InRelease
[7] [2024-08-28 09:41:51.378] [] Hit:6 https://packages.grafana.com/oss/deb stable InRelease
[7] [2024-08-28 09:41:51.378] [] Reading package lists...
[7] [2024-08-28 09:41:51.378] [] E: The repository 'http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12 ./ Release' does not have a Release file.
[7] [2024-08-28 09:41:51.378] [] + EXITCODE=1
[7] [2024-08-28 09:41:51.378] [] + exit 1
I have tried the failed wget on other systems and they report the same issue. I also downloaded the newer experimental version of opsi-quickinstall.zip as I saw it was newer and it has the same issue.

Any idea why this is not working?
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Unable to complete quick install

Beitrag von m.radtke »

Hi

could you please provide the full log?

The tried address is

Code: Alles auswählen

http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/debian_12
but it should be

Code: Alles auswählen

http://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.3:/testing/Debian_12
We internally read various information and create the address based on those information. Therefore a more complete log is needed.

Regards
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Re: Unable to complete quick install

Beitrag von Taomyn »

Sure, I had to redact the main log as amongst other things it had the password to the admin account still showing

Well I would attach them, but I get "Sorry, the board attachment quota has been reached."
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Unable to complete quick install

Beitrag von m.radtke »

Hi

you can post the log on pastebin and post the link here. Thanks

Regards
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Re: Unable to complete quick install

Beitrag von Taomyn »

It's been a while since I used my old Pastebin account

https://pastebin.com/YSYBXD4s

https://pastebin.com/TL8zsbVW

Hope they work
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Unable to complete quick install

Beitrag von m.radtke »

Hi

what's the output of

Code: Alles auswählen

lsb_release -a
or

Code: Alles auswählen

cat /etc/os-release
on the machine?


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Re: Unable to complete quick install

Beitrag von Taomyn »

Code: Alles auswählen

root@OPIE:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Unable to complete quick install

Beitrag von m.radtke »

Hi

is "lsb_release" installed on your system?

Regards
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Taomyn
Beiträge: 9
Registriert: 31 Mai 2022, 14:34

Re: Unable to complete quick install

Beitrag von Taomyn »

It was not, but I installed it with

Code: Alles auswählen

apt install lsb-release

Code: Alles auswählen

root@OPIE:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: Unable to complete quick install

Beitrag von m.radtke »

Could you now try the quick-install again?

I have a suspicion what might cause the issue

If it fails, please again with a full log

Regards
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten