OpenMediaVault-Plugin-Developers / installScript

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

Installation fails on Raspberry Pi Model B Plus (php 7) #63

Closed tomeram closed 2 years ago

tomeram commented 2 years ago

Hi! I am trying to use this script on Raspberry Pi Model B Plus which according to this:

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 897.37
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 0010
Serial          : 00000000b43c312a
Model           : Raspberry Pi Model B Plus Rev 1.2

uses ARMv6. but I am getting errors trying to start up omv:

Oct 24 21:12:19 raspberrypi monit[653]: 'omv-engined' failed to start (exit status 1) -- '/bin/systemctl start openmediavault-engined': Job for openmediavault-engined.service failed because a fatal signal was delivered to the control process.
                                        See "systemctl status openmediavault-engined.service" and "journalctl -xe" for details.

After playing around I found out the the installed PHP doesn't work:

$ php
Illegal instruction

According to this, looks like php7 isn't supported on ARMv6.

Is PHP 7 mandatory for OMV? is there an easy way to downgrade PHP or modify the install script to work on Raspberry Pi?

Thanks!

ryecoaaron commented 2 years ago

The original RPi is not supported and is terribly slow. Yes, php7 is required.

ryecoaaron commented 2 years ago

Just out of curiosity, what is the output of: dpkg --print-architecture