OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.07k stars 206 forks source link

script fails with Raspberry pi 4 #128

Closed RichardMidnight closed 10 months ago

RichardMidnight commented 10 months ago

I have tried the script more than 10 times now and it always fails after doing a bunch of work. The last line is: "openmediavault package failed to install or is in a bad state."

Is anyone else having these issues?

ryecoaaron commented 10 months ago

I have installed on an RPi4, RPi400, and RPi5 in the last 24 hours without issue. Are you following the RPi guide? I would need to see all of the output of the script to be able to help. The forum would be a much easier place to do that.

RichardMidnight commented 10 months ago

Good to know it works for others. Thanks for that info! I am mostly following the guide, but I hooked up a monitor and keyboard for simplicity as described by Explaining Computers on Utube.

Can you direct me to the fourm?

Here are the lines with errors from the log file:

Please ignore the following error about deb-systemd-helper not finding those services. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory /usr/bin/deb-systemd-helper: error: systemctl preset failed on sshd.service: No such file or directory dpkg: error processing package openmediavault (--configure): installed openmediavault package post-installation script subprocess returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) omv-confdbadm update: error: argument data: No valid JSON.

ryecoaaron commented 10 months ago

Please follow the guide I linked to. I can't tell you what other videos tell you but their info might conflict.

Forum is here - https://forum.openmediavault.org/wsc/

Just the error messages aren't all that helpful. I need all of the output for more context on what is going on.

RichardMidnight commented 10 months ago

OK, I will try remoting in as the guide says.

Here is the install.log omv_install.log

RichardMidnight commented 10 months ago

I enabled SSH (as in the guide) and it installed. Thanks.