Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domoticz is not installing. Invalid path. #7375

Open
IgrekLg opened this issue Jan 28, 2025 · 10 comments
Open

Domoticz is not installing. Invalid path. #7375

IgrekLg opened this issue Jan 28, 2025 · 10 comments
Labels
Solution available 🥂 Definite solution has been done Upstream change
Milestone

Comments

@IgrekLg
Copy link

IgrekLg commented Jan 28, 2025

Creating a bug report/issue

  • [+] I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=9
    G_DIETPI_VERSION_RC=0
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bullseye

  • Kernel version | uname -a
    Linux DietPi 6.6.63-current-rockchip64 #2 SMP PREEMPT Fri Nov 22 14:38:37 UTC 2024 aarch64 GNU/Linux

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    ROCK Pi S (aarch64)

  • Power supply used | (EG: 5V 1A RAVpower)
    5V 3A

  • SD card used | (EG: SanDisk ultra)
    micro SDXC 64Gb Kingston Canvas Go Plus UHS-I U3 A2 + ADP

Additional Information (if applicable)

  • Software title | domoticz

Domoticz will not install.
Error in box:

Checking URL: https://releases.domoticz.com/releases/release/domoticz_linux_aarch64.tgz
                   │  - Command: curl -ILfvm 10 https://releases.domoticz.com/releases/release/domoticz_linux_aarch64.tgz
                   │  - Exit code: 22
                   │  - DietPi version: v9.9.0 (MichaIng/master) | HW_MODEL: 73 | HW_ARCH: 3 | DISTRO: 6

Indeed
The path 'https://releases.domoticz.com/releases/release/domoticz_linux_aarch64.tgz' is vrong!

True path is 'https://releases.domoticz.com/release/domoticz_linux_aarch64.tgz'
One of the '/releases/ ' is obviously redundant!

P.S..
I have already downloaded domoticz_linux_aarch64.tgz file to my PC, how can I skip the step of downloading it with wrong path?

@MichaIng MichaIng added this to the v9.10 milestone Jan 28, 2025
MichaIng added a commit that referenced this issue Jan 28, 2025
Fixes: #7375

Additionally, some minor coding enhancements/hardenings have been applied.
@MichaIng MichaIng added the Solution available 🥂 Definite solution has been done label Jan 28, 2025
@MichaIng
Copy link
Owner

Many thanks for your report. Indeed the URL has changed recently, fixed for next release: 4c5457c

To get it working in your case, easiest is to select "Change command" from the error prompt, and remove the /releases there. It is downloaded to and expected at a temporary directory /tmp/DietPi-Software, so your pre-downloaded archive is at the wrong location.

@IgrekLg
Copy link
Author

IgrekLg commented Jan 28, 2025

Installed, but it won't start. No old ssl library?

DietPi domoticz[15776]: /opt/domoticz/domoticz: error while loading shared libraries: libssl.so.1.1: │ cannot open shared object file: No such file or directory

@MichaIng
Copy link
Owner

MichaIng commented Jan 28, 2025

I just wanted to check back the situation with libssl: domoticz/domoticz#5233

However, that should be actually an issue on Bookworm and above with ARM architecture only. But you are on Bullseye, which should have libssl1.1. Can you share this:

dpkg -l | grep libssl

@IgrekLg
Copy link
Author

IgrekLg commented Jan 29, 2025

I've already completely upgraded to the latest system from the website. I can't fix the error with “Change command”, then the thread starts with the old wrong URL. And nothing is loaded. I put the file in “/tmp/DietPi-Software” via sftp. But I ran into the above described problem with ssl... (
From the new :

dpkg -l | grep libssl

ii libssl3:arm64 3.0.15-1~deb12u1 arm64 Secure Sockets Layer toolkit - shared libraries

@MichaIng
Copy link
Owner

I've already completely upgraded to the latest system from the website.

What do you mean by this? dietpi-update won't upgrade the underlying Debian version. In the bug report template it says "bullseye", but the libssl3 package is from Bookworm. So something is mixed. Did you upgrade to Bookworm in the meantime, using this guide (or manually)? https://dietpi.com/blog/?p=3128

Else, can you show this:

cat /etc/debian_version /etc/os-release /boot/dietpi/.version

@IgrekLg
Copy link
Author

IgrekLg commented Jan 30, 2025

Hello!
I updated manually. Having failed to update the system with updates, I downloaded the distribution from the site and unmatted the CD and loaded the latest distribution. Thus repeating all the steps.
The result of the command cat /etc/debian_version /etc/os-release /boot/dietpi/.version

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/"
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=9
G_DIETPI_VERSION_RC=0
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='applied'
G_LIVE_PATCH_STATUS[1]='applied'
G_LIVE_PATCH_STATUS[2]='not applicable'
G_LIVE_PATCH_STATUS[3]='not applicable'

I things, the latest version of the distribution has path problems and Domoticz doesn't work with it because of the lack of the old SSL library. So fixing only the path is not enough, in my opinion and my praxis.

@MichaIng
Copy link
Owner

MichaIng commented Jan 31, 2025

Sorry one essential file was missing:

cat /boot/dietpi/.hw_model

So you are definitely using a Bookworm system, where the Domoticz software option should not be available, because of this very issue: For ARM, Domoticz provides only binaries compiled against libssl1.1, which has been replaced with libssl3 on Bookworm. The question is why your system was detected as Bullseye system, and hence Domoticz did show up in the software list.

Only solution is to compile own Domoticz binaries, with I probably find time for with DietPi v9.11 release (if no one else can pick it up in the meaning).

@IgrekLg
Copy link
Author

IgrekLg commented Jan 31, 2025

G_HW_MODEL=73
G_HW_MODEL_NAME='ROCK Pi S (aarch64)'
G_HW_ARCH=3
G_HW_ARCH_NAME='aarch64'
G_HW_CPUID=0
G_HW_CPU_CORES=4
G_DISTRO=7
G_DISTRO_NAME='bookworm'
G_ROOTFS_DEV='/dev/mmcblk1p1'
G_HW_UUID='0459aebd-a830-40f6-aadb-ea696e59460b'

@MichaIng
Copy link
Owner

Okay, that contains now the correct values: G_DISTRO=7 compared to G_DISTRO=6 in your original post. Hence Domoticz does not show up as option anymore now, right?

@IgrekLg
Copy link
Author

IgrekLg commented Feb 4, 2025

Hence Domoticz does not show up as option anymore now, right?

Yes. ( I later built a github from the repository and now Domoticz is up and running.

cd opt
git clone https://github.com/domoticz/domoticz.git domoticz
cd domoticz
git pull
cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt -DUSE_OPENSSL_STATIC="NO"
make
cp /opt/domoticz/bin/domoticz /opt/domoticz/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution available 🥂 Definite solution has been done Upstream change
Projects
None yet
Development

No branches or pull requests

2 participants