Open Media vault sur RPi

Salut a tous !

Je me suis lancé dans l’installation de OMV sur mon rapsberry, un seul souci ca :

Durant l’installation j’ai un erreur ici :

Quelqu’un aurait une solution ?

Merci (:

hello,

soit tu n’utilises pas sudo pour ton script d’installation soit php-fpm7.3 n’est pas installé.
il est aussi possible que la version de l’OS que tu utilises ne contient pas le php version 7.3 …
dans une console :
dpkg -l|grep php
te donnera les modules de php installés.
et :
sudo apt-cache search php7.3
te listera ces modules s’ils existent ds ton OS

Bah je suis sur la derniere version de raspbian…

OMV n’existe pas en OS ?

Yo,
J’ai installé une image de OMV mais pas sur Rpi.
J’ai utilisé un vieux PC pour disposer d’un RAID miroir.
Je viens de regarder vite fait, l’image n’est pas dispo en ARM semble-t-il.
++

dans la doc ( https://github.com/OpenMediaVault-Plugin-Developers/docs/blob/master/Adden-B-Installing_OMV5_on_an%20R-PI.pdf ) il précise qu’il faut utiliser une image lite ( sans desktop ) et comme il insiste lourdement sur l’installation de la sd, je suppose qu’il vaut mieux en utiliser une « neuve » …

La ca devrait etre bon nan ?

apt-cache vous indique si les paquets existent, prêts à être téléchargés

dpkg -l + grep vous donne la liste des paquets (filtrés par grep) qui sont effectivement installés sur votre RPi

Nota: il est très difficile de lire une copie d’écran pour mes vieux yeux. Un copier coller du texte issu de la commande serait plus facile à lire…(et donnerait toute l’info)

desolé @dbrion06

Maintenat j’ai installé tous les php en avence, puis je lance l’installation de OMV, elle ne se fini pas et les dernieres lignes sont celles ci :

Job for php7.3-fpm.service failed because a fatal signal was delivered to the control process.
See "systemctl status php7.3-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.3-fpm, action "restart" failed.
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Tue 2020-09-22 17:11:06 BST; 123ms ago
     Docs: man:php-fpm7.3(8)
  Process: 19838 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=killed, signal=ILL)
 Main PID: 19838 (code=killed, signal=ILL)

Sep 22 17:11:06 raspberrypi systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...
Sep 22 17:11:06 raspberrypi systemd[1]: php7.3-fpm.service: Main process exited, code=killed, status=4/ILL
Sep 22 17:11:06 raspberrypi systemd[1]: php7.3-fpm.service: Failed with result 'signal'.
Sep 22 17:11:06 raspberrypi systemd[1]: Failed to start The PHP 7.3 FastCGI Process Manager.
dpkg: error processing package php7.3-fpm (--configure):
 installed php7.3-fpm package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for libapache2-mod-php7.3 (7.3.19-1~deb10u1) ...
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
 nginx-full
 nginx
 openmediavault
 php7.3-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.


● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-09-22 17:08:21 BST; 147ms ago
     Docs: man:nginx(8)
  Process: 19033 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
  Process: 19034 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Sep 22 17:08:19 raspberrypi nginx[19034]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 22 17:08:19 raspberrypi nginx[19034]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 22 17:08:19 raspberrypi nginx[19034]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 22 17:08:19 raspberrypi nginx[19034]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 22 17:08:20 raspberrypi nginx[19034]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 22 17:08:20 raspberrypi nginx[19034]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 22 17:08:20 raspberrypi nginx[19034]: nginx: [emerg] still could not bind()
Sep 22 17:08:21 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Sep 22 17:08:21 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 22 17:08:21 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
 installed nginx-full package post-installation script subprocess returned error exit status 1
Setting up salt-minion (3001.1+ds-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/salt-minion.service → /lib/systemd/system/salt-minion.service.
Setting up samba-common-bin (2:4.9.5+dfsg-5+deb10u1+rpi1) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

En plus je ne comprends pas, ca parle de nginx service alors que quand je me connecte si mon ip c’est une page apache2 qui s’ouvre…

Je continue mes investigations, j’ai voulue tout desinstaller ( apache php openmdeivault ) et j’ai toujours les memes erreurs en rapport avec :

pi@raspberrypi:/var/log $ sudo apt-get purge openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  acl apache2-data apache2-utils beep btrfs-progs chrony collectd collectd-core cpufrequtils cron-apt dctrl-tools dmeventd fontconfig fontconfig-config
  fonts-dejavu-core gdisk hdparm jfsutils jq libaio1 libavahi-client3 libcairo2 libcpufreq0 libcups2 libdatrie1 libdbi1 libdevmapper-event1.02.1 libfile-slurp-perl
  libfontconfig1 libgd3 libgraphite2-3 libharfbuzz0b libhiredis0.14 libjavascript-minifier-xs-perl libjbig0 libjq1 libjs-extjs6 libjs-jquery libjs-sphinxdoc
  libjs-underscore libjson-perl libldb1 liblocale-po-perl liblvm2cmd2.03 liblzo2-2 libmemcached11 libmemcachedutil2 libnginx-mod-http-auth-pam
  libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnorm1 libnss-myhostname libonig5 libossp-uuid16
  libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpgm-5.2-0 libpixman-1-0 libpython2.7 libreadline5 librrd8 libtdb1 libtevent0 libthai-data libthai0 libtiff5
  libwebp6 libxcb-render0 libxcb-shm0 libxpm4 libxrender1 libxslt1.1 libyaml-0-2 libzmq5 lvm2 mdadm netplan.io nfs-kernel-server nginx nginx-common nginx-full
  php-bcmath php-cgi php-mbstring php-pam php-xml php-yaml php7.3-bcmath php7.3-mbstring php7.3-xml proftpd-basic proftpd-mod-vroot python-crypto python-dnspython
  python-ldb python-samba python-talloc python-tdb python3-cached-property python3-click python3-colorama python3-dateutil python3-dbus python3-dialog python3-distro
  python3-jinja2 python3-lxml python3-markupsafe python3-msgpack python3-natsort python3-netifaces python3-psutil python3-pycryptodome python3-pyudev python3-systemd
  python3-yaml python3-zmq quota quotatool rrdcached rrdtool salt-common salt-minion samba samba-common samba-common-bin samba-libs samba-vfs-modules sdparm
  smartmontools socat sshpass tdb-tools uuid wsdd xfsprogs xmlstarlet
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  openmediavault*
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
2 not fully installed or removed.
After this operation, 9,506 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 59386 files and directories currently installed.)
Removing openmediavault (5.5.11-1) ...
Setting up php7.3-fpm (7.3.19-1~deb10u1) ...
Job for php7.3-fpm.service failed because a fatal signal was delivered to the control process.
See "systemctl status php7.3-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.3-fpm, action "restart" failed.
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Tue 2020-09-22 18:12:09 BST; 124ms ago
     Docs: man:php-fpm7.3(8)
  Process: 32098 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=killed, signal=ILL)
 Main PID: 32098 (code=killed, signal=ILL)

Sep 22 18:12:09 raspberrypi systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...
Sep 22 18:12:09 raspberrypi systemd[1]: php7.3-fpm.service: Main process exited, code=killed, status=4/ILL
Sep 22 18:12:09 raspberrypi systemd[1]: php7.3-fpm.service: Failed with result 'signal'.
Sep 22 18:12:09 raspberrypi systemd[1]: Failed to start The PHP 7.3 FastCGI Process Manager.
dpkg: error processing package php7.3-fpm (--configure):
 installed php7.3-fpm package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 php7.3-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Je sais plus comment faire…

Il y a visiblement un script tout fait qui à l’air de fonctionner, cela vaut peut-être la peine de regarder

C’est celui que j’utilise… Mais qui me donne ces erreurs