owncloud installer script

    • Offizieller Beitrag

    I RECOMMEND USING THE OFFICIAL PLUGIN INSTEAD OF THIS SCRIPT



    --------------------



    I have written a script that will install Owncloud 5 from the official repository. It uses sqlite instead of mysql and doesn't use the web site/mysql plugins. If you want the data directory on a share, select Advanced on Setup screen and change the Data folder.


    Port-based Installer - access owncloud by http://omv_ip_address:8080/ - does not work over https (yet)


    As root:

    Code
    wget http://omv-extras.org/owncloud_install.sh
    chmod +x owncloud_install.sh
    ./owncloud_install.sh


    Alias-based Installer - access owncloud by http://omv_ip_address/owncloud/ - works with https if OMV configured for https


    As root:

    Code
    wget http://omv-extras.org/owncloud_alias_install.sh
    chmod +x owncloud_alias_install.sh
    ./owncloud_alias_install.sh


    Uninstaller - Port-based


    To uninstall as root:

    Code
    wget http://omv-extras.org/owncloud_uninstall.sh
    chmod +x owncloud_uninstall.sh
    ./owncloud_uninstall.sh


    Uninstaller - Alias-based


    As root:

    Code
    wget http://omv-extras.org/owncloud_alias_uninstall.sh
    chmod +x owncloud_alias_uninstall.sh
    ./owncloud_alias_uninstall.sh


    - this script will delete everything in the data directory unless you have symlink'd it to a share.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    Yep, that is why I wrote it :) Volker still has quite a bit to do on OMV 0.5 and it may be a while before the plugin will be ready.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • I just saw this. I've been trying to 3 days to get this to work. I've had to re-install my OMV multiple times. Which, of course if good practice. but dang, if this script work. You sir are the man. Are there any pre-reqs that need to be set up first? Or just run the lines of code and go?


    Thanks again for this.

    • Offizieller Beitrag

    My test platform was a fresh install that was fully updated. No plugins or omv-plugins.org needed. So, just run the lines and you should be ready :)

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Got it up and running on a fresh build. Lost all my previous configurations, but that's ok.. This all helps with the learning process. I'm very much a noob. Now to go figure out how to use this awesome. Thanks again for the awesome script!

  • ok, so I get how the installer works, and I love it, can someone point me in the right direction to instructions or help for directing to it from outside my local domain (IE: using a domain name to that location or /owncloud) I've been banging my head on this one for a few days too.


    Thanks for being nice to the noob.

    • Offizieller Beitrag

    Port forward port 8080 to your omv system on your router. Then you can access it using http://yourinternetipaddress:8080. You can find your internet ip address here. I can help more if you tell me what router you are using.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Zitat von "ryecoaaron"

    Port forward port 8080 to your omv system on your router. Then you can access it using http://yourinternetipaddress:8080. You can find your internet ip address here. I can help more if you tell me what router you are using.


    Awesome, thanks. I'm using a Netgear running dd-wrt behind a uverse. I have subsonic port forwarded so it shouldn't be too difficult to remember how to do that. And then after that, I should go to my domain name host website and configure there so I don't have to put in the port number everytime I enter the web address? Am I on the right path?

    • Offizieller Beitrag

    If you can do that with your domain name host, then that would work great. Otherwise, if you forward port 80 on your router to port 8080 on your omv box, you might not need to use port :8080 either.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    I've never used the client app. I will have to try it and let you know. Could it have something to do with the port?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    Login as root:


    Code
    a2enmod rewrite
    /etc/init.d/apache2 restart


    Update the script for future installations.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • This brings up a question. Do the users in the owncloud install need to be active (I guess thats the word) in OMV? I'm getting the same issue as rals2007 is. I'm trying to rewrite now.

    • Offizieller Beitrag

    The users in owncloud are different than OMV. So, yes they have to be active in owncloud. No users necessary in OMV. It was definitely the apache mod_rewrite mod not being enabled causing the problem.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Zitat von "ryecoaaron"

    The users in owncloud are different than OMV. So, yes they have to be active in owncloud. No users necessary in OMV. It was definitely the apache mod_rewrite mod not being enabled causing the problem.


    Up and running. You sir are awesome! Thanks for all the help!

  • Hello,
    Is it possible to change the port (I already uses port 8080) Please, if so how?
    Best regard,
    ----------------------------------------------------------------
    Bonjour,
    Est il possible de changer le Port (j'utilise déja le port 8080) svp, si oui comment ?
    Cordialement,
    Moimemeici

    • Offizieller Beitrag
    Code
    wget http://omv-extras.org/owncloud_install.sh
    nano owncloud_install.sh
       change both occurrences of 8080 to the port you want
    ctrl-o to save
    ctrl-x to exit
    chmod +x owncloud_install.sh
    ./owncloud_install.sh

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!