install OMV on my NAS with usb Key

    • Offizieller Beitrag

    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.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • thanks,


    i do that


    and at the end :



    Code
    Processing 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

    • Offizieller Beitrag

    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.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • at the end of part 1 :


    Code
    hash@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


    Code
    hash@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 :

    Code
    sudo su -


    :(


    do you understand ?

    • Offizieller Beitrag

    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.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • oups...sorry



    i re-execute every commands.


    what can i do ?


    reboot only ? i can choose my OS OMV to boot ?.



    thanks

    • Offizieller Beitrag

    nano /etc/apt/sources.list.d/openmediavault.list
    remove the duplicate lines
    ctrl-o to save
    ctrl-x to exit
    apt-get update

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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

    • Offizieller Beitrag

    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).

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • it's seems to be ok .


    or i need to remove other line ?

    • Offizieller Beitrag

    That looks fine. Now:


    apt-get install openmediavault-keyring postfix


    Post the output

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • everything seems ever to be ok . :)



    Code
    root@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:~#
    • Offizieller Beitrag

    apt-get install openmediavault should work then.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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

    • Offizieller Beitrag

    and now how can i run it ?

    It should be "running". What is the output of: systemctl status openmediavault-engined

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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!