NextCloud Installation Q & A

  • If OMV4 using PHP 7, then php5-curl will not work.


    Therefore, it should be like this, use the below commands according to your needs:


    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • i switched the language now to english


    i tried to use a different source list, what i found on the net, but still no success

    apt-get update






  • hi guys,
    i solved the issue, the problem was:
    i forgot to put a dns server in omv ... i thought this will be done by my router anyway.


    but now i stopped at point 4



    according to a different thread
    https://forum.openmediavault.o…mfiles-already-installed/
    i used this functio

    Code
    root@openmediavault:~# blkid /dev/sda1
    /dev/sda1: LABEL="slot1" UUID="d0978d3d-013d-4b07-9a15-b9f6be4657f9" TYPE="ext4" PARTUUID="53ce6d9e-05a6-4d51-8758-95df3da44741"

    but i don`t know how to go to the shared drive tried it with cd /media/UUID and also cd /dev/UUID



    can somebody please help me :)

  • Hi thanks for your post, i tried this already several times yesterday, but i get also this error...


    Code
    root@openmediavault:~# cd /media/d0978d3d-013d-4b07-9a15-b9f6be4657f9
    -bash: cd: /media/d0978d3d-013d-4b07-9a15-b9f6be4657f9: No such file or directory


    if i use the lsblk command:
    sda 8:0 0 2.7T 0 disk
    `-sda1 8:1 0 2.7T 0 part /srv/dev-disk-by-label-slot1



    yes my nextcloud folder is:
    www/nextcloud


    the thing what is a bit strange in my opinion, if open nginix --> servers
    at the column root is written:
    /srv/dev-disk-by-label-slot1/www/nextcloud

  • ok thanks a lot, but still i can not access the drive withe uuid, is this a problem?


    i was able to access the folder in this way, can i use also this workaround?

    Code
    root@openmediavault:/srv/dev-disk-by-label-slot1/www/nextcloud#
  • yes i know that @tinh_x7 recommended this command, but i was so focused on the uuid :(


    i downloaded the new version of nextcloud (NC v12.0.3) unzipped and followed the instruction, but at the step 7


    Zitat

    7. open your browser and enter your local ip such as: http://192.168.1.10:90 to begin the installation.


    502 Bad Gateway

    nginx/1.6.2



    i tried also the script of @tinh_x7 but their i get every time a permission error message


    Code
    root@openmediavault:/srv/dev-disk-by-label-slot1/www# ls -l
    total 12
    -rwxrwx--x  1 root     users    1482 Sep 25 21:54 nc_installation.sh
    drwxrws---+ 2 www-data www-data 4096 Sep 25 21:38 nextcloud
  • I don't know how your system is setup.
    My NextCloud is installed on a RAID10, therefore it's under /media/UUID....
    After you logged into Putty via SSH, run lsblk, then post the result here.
    You should able to get the UUID after you ran lsblk command.



    Also post a screenshot of Physical Disks, File Systems, and RAID Management here, so others can help you.
    /dev/sda1 = omv OS



    You need to get the correct info about your system first before you can install any web server.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

  • Thank you very much, my omv OS is installed on sdc, don`t know why and how i can change this



    Code
    root@openmediavault:~# lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sdb      8:16   0 698.7G  0 disk
    └─sdb1   8:17   0 698.7G  0 part /srv/dev-disk-by-label-slot4
    sdc      8:32   0 232.9G  0 disk
    ├─sdc2   8:34   0     1K  0 part
    ├─sdc5   8:37   0     8G  0 part [SWAP]
    └─sdc1   8:33   0   225G  0 part /
    sda      8:0    0   2.7T  0 disk
    └─sda1   8:1    0   2.7T  0 part /srv/dev-disk-by-label-slot1
  • You installed OMV on SDC, which is fine.


    Don't know why your mount point is listing as label view instead UUID.
    Try this: sudo blkid -o list 


    Copy & paste your result in here.


    I think your NextCloud folder is installed either on SDA or SDB.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • Thank you for your suppport, at the moment I run freenas, because I needed next cloud very fast :(
    But I'm sure I will come back to this topic, when all my ordered hardware components are here :)


    Gesendet von meinem Nexus 5X mit Tapatalk

  • as i have some sparefime, i try to install omv on my virtual machine, because i like omv much more then freenas!
    and when i understand how it works, or why it was not working before i do the same on my real nas :)


    @tinh_x7
    i tried your command, and finaly i got the UUID nummber


    root@openmedia:/srv/dev-disk-by-label-data# sudo blkid -o list

    Code
    root@openmedia:~# sudo blkid -o list
    device                fs_type   label      mount point               UUID
    ----------------------------------------------------------------------------------------------------------
    /dev/sda1             ext4                 /                         304f6850-f452-47ff-ab87-b85eee8e248c
    /dev/sda5             swap                 <swap>                    544635cb-8952-4686-a057-8c6b0b20feca
    /dev/sdb1             ext4      data       /srv/dev-disk-by-label-data 644c035f-afc8-4774-a01c-fae719f51e1d
    root@openmedia:~#


    but if i try to acces this folder now via
    /media/64........1d
    or
    /srv/64.......1d (as recommended by @macom)
    does not work


    Code
    root@openmedia:~# cd /srv/644c035f-afc8-4774-a01c-fae719f51e1d/www/nextcloud
    -bash: cd: /srv/644c035f-afc8-4774-a01c-fae719f51e1d/www/nextcloud: No such file or directory
    root@openmedia:~# cd /media/644c035f-afc8-4774-a01c-fae719f51e1d/www/nextcloud
    -bash: cd: /media/644c035f-afc8-4774-a01c-fae719f51e1d/www/nextcloud: No such file or directory
  • Since 12.0.3 I get a lot of Errors in my logs:

    What is this? Attempts to access files in the webroot?

    Chaos is found in greatest abundance wherever order is being sought.
    It always defeats order, because it is better organized.
    Terry Pratchett

    • Offizieller Beitrag

    /srv/64.......1d (as recommended by macom)
    does not work

    try
    cd /srv/dev-disk-by-label-data


    befor OMV 3.0.68 (approx) new devices were mounted under /media/....UUID....
    after that version new devices are mounted under /srv/dev-disk-by-label-...


  • Don't cd the entire path, how about just cd /media/644c035f-afc8-4774-a01c-fae719f51e1d/
    Ensure the www folder is exist, else create one.


    The easy method is to create www folder, and nextcloud as a subfolder under www in OMV web gui under Shared Folders tab.
    Then use SSH into the data drive to continue the installation.


    @riff-raff


    I don't have any error in v12.0.3


    Are you using phpmyadmin ?

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    3 Mal editiert, zuletzt von tinh_x7 ()

  • cd /srv/dev-disk-by-label-data


    befor OMV 3.0.68 (approx) new devices were mounted under /media/....UUID....
    after that version new devices are mounted under /srv/dev-disk-by-label-...


    thank you, this definitely does work, but i have to add the full path
    root@openmedia:/srv/dev-disk-by-label-data/www/nextcloud# 


    i downloaded the new version (12.03), unzipt it, i unzipped them already in the folder i created online, changed the owner.
    but still i get the 502 bad gateway from ngnix


    here is my foder structure

  • Hi,


    I tried to install according to the guide, but during installation I got error 502, still, I see that tables in the MySQL database were created.


    Additionally, I changed in /etc/php5/fpm/pool.d/www.conf the listen parameter from

    Code
    listen = /var/run/php5-fpm.sock

    to

    Code
    listen = 127.0.0.1:90


    Now, when I try to launch the page I get "This page isn’t working 10.103.210.3 redirected you too many times ERR_TOO_MANY_REDIRECTS" on Chrome, and blank page on any other browser. Nginx log does not show any errors, nextcloud log is not created. Any clues? Should I provide some of my config files?

Jetzt mitmachen!

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