Seite 1 von 2

Unable to complete quick install

Verfasst: 28 Aug 2024, 12:03
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?

Re: Unable to complete quick install

Verfasst: 28 Aug 2024, 12:17
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

Re: Unable to complete quick install

Verfasst: 28 Aug 2024, 12:41
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."

Re: Unable to complete quick install

Verfasst: 28 Aug 2024, 13:36
von m.radtke
Hi

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

Regards
Mathias

Re: Unable to complete quick install

Verfasst: 28 Aug 2024, 14:44
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

Re: Unable to complete quick install

Verfasst: 29 Aug 2024, 06:48
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?

Re: Unable to complete quick install

Verfasst: 29 Aug 2024, 08:05
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/"

Re: Unable to complete quick install

Verfasst: 29 Aug 2024, 11:42
von m.radtke
Hi

is "lsb_release" installed on your system?

Regards
Mathias

Re: Unable to complete quick install

Verfasst: 29 Aug 2024, 11:50
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

Re: Unable to complete quick install

Verfasst: 29 Aug 2024, 12:31
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