install OMV on my NAS with usb Key
-
- OMV 4.x
- .H.
-
-
Two things...
Please cut&paste instead of screenshots
Login as root or sudo su - to change to root. Not all of those commands are setup to use with sudo.
Why is the shell script split into 2 parts on the link that shows the procedure?
I don't know. It doesn't hurt anything though.
-
thanks,
i do that
and at the end :
CodeProcessing triggers for rsyslog (8.24.0-1) ... Errors were encountered while processing: nginx-full nginx openmediavault E: Sub-process /usr/bin/dpkg returned an error code (1) root@HashDebian:~# omv-initsystem /usr/sbin/omv-initsystem: 24: .: Can't open /etc/default/openmediavault root@HashDebian:~#
i don't understand why it's impossible to install it. ( directly, from debian ) on USB on HDD.
i try several times, but nothing at this time...
i need to had my data on disk.. but i'm little afraid to not have OMV on my NAS -
and at the end :
You got an error code while installing but still ran omv-initsystem? That is not something you should do. You are also not giving me enough info to help you. The error was caused by nginx and openmediavault not installing but the errors are further back in the code.
i don't understand why it's impossible to install it. ( directly, from debian ) on USB on HDD.
It isn't. I have done it many times.
-
Sorry,
i don't saw error during installation
Would you i copy everything in PM ?
i need to re-do the complete installation ?
thanks
-
I don't know waht can i do..
i need to access to my backup
-
Would you i copy everything in PM ?
No.
i need to re-do the complete installation ?
You gave me no additional info. Post the entire output of apt-get -f install
-
at the end of part 1 :
Codehash@HashDebian:~$ cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list > deb http://packages.openmediavault.org/public arrakis main > > EOF bash: /etc/apt/sources.list.d/openmediavault.list: Permission non accordée hash@HashDebian:~$
a
Codehash@HashDebian:~$ apt-get update Reading package lists... Done W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted) E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied) hash@HashDebian:~$
...
i wright :
do you understand ?
-
do you understand ?
Yes. That is why I told you to login as root or sudo su - (which changes to the root user) in post 22 to execute those commands. So, change to the root user and re-execute those commands.
-
oups...sorry
Code
Alles anzeigenroot@HashDebian:~# apt-get update Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-fr Ign:4 file:/var/cache/openmediavault/archives Translation-fr Get:5 file:/var/cache/openmediavault/archives Translation-en Ign:5 file:/var/cache/openmediavault/archives Translation-en Hit:6 http://security.debian.org/debian-security stretch/updates InRelease Ign:7 http://ftp.fr.debian.org/debian stretch InRelease Get:8 http://ftp.fr.debian.org/debian stretch-updates InRelease [91.0 kB] Hit:9 http://packages.openmediavault.org/public arrakis InRelease Hit:10 http://ftp.fr.debian.org/debian stretch Release Fetched 91.0 kB in 1s (64.6 kB/s) Reading package lists... Done W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/openmediavault.list:1 and /etc/apt/sources.list.d/openmediavault.list:3 root@HashDebian:~#
i re-execute every commands.what can i do ?
reboot only ? i can choose my OS OMV to boot ?.
thanks
-
nano /etc/apt/sources.list.d/openmediavault.list
remove the duplicate lines
ctrl-o to save
ctrl-x to exit
apt-get update -
even if i re-execute everything. ?
i juste need to remove the line ?nano /etc/apt/sources.list.d/openmediavault.list
and how can i access to omv after that ?
thanks
-
even if i re-execute everything. ?
The command you are executing appends lines to the openmediavault.list file. So, it adds the same line every time you run it.
i juste need to remove the line ?
nano is a text editor that will allow you to remove the line.
and how can i access to omv after that ?
One thing at a time. We are trying to fix your sources before you fix anything else.
Maybe you should look a few basic Linux tutorials. It would really help you (and my lacking ability to explain everything on the noob level).
-
it's seems to be ok .
or i need to remove other line ?
Code
Alles anzeigenroot@HashDebian:~# apt-get update Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-fr Ign:5 file:/var/cache/openmediavault/archives Translation-fr Hit:6 http://security.debian.org/debian-security stretch/updates InRelease Ign:7 http://ftp.fr.debian.org/debian stretch InRelease Hit:8 http://ftp.fr.debian.org/debian stretch-updates InRelease Hit:9 http://ftp.fr.debian.org/debian stretch Release Hit:10 http://packages.openmediavault.org/public arrakis InRelease Reading package lists... Done root@HashDebian:~#
-
That looks fine. Now:
apt-get install openmediavault-keyring postfix
Post the output
-
everything seems ever to be ok .
Coderoot@HashDebian:~# apt-get install openmediavault-keyring postfix Reading package lists... Done Building dependency tree Reading state information... Done postfix is already the newest version (3.1.8-0+deb9u1). openmediavault-keyring is already the newest version (1.0). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@HashDebian:~#
-
apt-get install openmediavault should work then.
-
Code
root@HashDebian:~# apt-get install openmediavault Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait openmediavault is already the newest version (4.1.11). 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. root@HashDebian:~#
it was already doing (?)
and now how can i run it ?
thanks
-
and now how can i run it ?
It should be "running". What is the output of: systemctl status openmediavault-engined
-
Code
Alles anzeigen● openmediavault-engined.service - The OpenMediaVault engine daemon that processes the RPC request Loaded: loaded (/lib/systemd/system/openmediavault-engined.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2018-09-19 19:10:02 CEST; 1h 29min ago Process: 569 ExecStart=/usr/sbin/omv-engined (code=exited, status=0/SUCCESS) Main PID: 649 (omv-engined) Tasks: 1 (limit: 4915) CGroup: /system.slice/openmediavault-engined.service └─649 omv-engined sept. 19 19:10:02 HashDebian systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC request.. sept. 19 19:10:02 HashDebian systemd[1]: openmediavault-engined.service: Supervising process 649 which is not our c sept. 19 19:10:02 HashDebian systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request. ~
how can i run it ?
my old system was on ZFS before . How can i reconstruct that with the pool ( like it was before i think for access to my data )
and... A really big Thanks for your patience and your help for my problem every contributors but specially for ryecoaaron !
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!