Easy Nextcloud Installation discussion

    • OMV 5.x (beta)

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hi @TechnoDadLife

      I went through your videos and I must say awesome work you have done by creating these videos....!!
      And by looking @ your videos I am also exploring (nextcloud, letsencrypt) using docker

      BTW i went thru your latest one
      youtube.com/watch?v=T_2csDJFa2k&t=762s
      in this video when @ around 22 mins..you connected the nextcloud on a tablet
      May i ask what is the source of internet connection -Is the connection used while setting up the nextcloud + and configuring it on tablet is same or they both are in entirely different networks

      Reason of asking is I am having an issue while accessing the nextcloud from outside my home network.

      Thanks,
      Andy
    • UPDATE: Fixed

      I deleted the config.php file in /nextcloud/config directory.

      The I just tried over and over... you know what they say. 10th times the charm.

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

      Thanks so much for your videos! They have helped so much in setting up my home network. I just joined your patron in hopes that they keep coming.

      I am getting the calendar error.


      Error: Could not download app calendar


      e

      In your video you say to to delete config and start over. Which config? I have deleted the directory /nextcloud/config and just the config.php in that directory. Also, I have to delete the container and image out of Portainer or the docker run command just says it already exist and will not run. I have also tried deleting the entire contents of my ncdata folder and start over completely and the same error persist. I've tried various combinations of these over 6 or 7 install tries.

      Thanks for any help.

      The post was edited 1 time, last by Boo Radley ().

    • @TechnoDadLife Thank you for the nice video!
      I have a question about the intiration of local folder. I think the performance is mutch faster to intigrate it directly without smb/cfs. But how can i make it? In the moment i use the OMV4 Docker plugin and i can take the folders in the options for a local path use in nextcloud.
      omv 4.x | 64 bit | omvextrasorg 4.x | kernel 4.16
      used plugins: nginx | mysql | docker-gui |rsnapshot | antivirus | apt tool | letsEncrypt |
      used other: netxtcloud | logitechmediaserver | Jellyfin | Lychee
    • happyreacer wrote:

      @TechnoDadLife Thank you for the nice video!
      I have a question about the intiration of local folder. I think the performance is mutch faster to intigrate it directly without smb/cfs. But how can i make it? In the moment i use the OMV4 Docker plugin and i can take the folders in the options for a local path use in nextcloud.
      I don't have any experience with the plugin, so better to ask someone else.
      Build, Learn, Create.

      How to Videos for OMV

      Post any questions to the forum, so others can benefit from your curiosity. :thumbsup:
      No private support.
    • TechnoDadLife wrote:

      happyreacer wrote:

      @TechnoDadLife Thank you for the nice video!
      I have a question about the intiration of local folder. I think the performance is mutch faster to intigrate it directly without smb/cfs. But how can i make it? In the moment i use the OMV4 Docker plugin and i can take the folders in the options for a local path use in nextcloud.
      I don't have any experience with the plugin, so better to ask someone else.
      ah sorry, i would like to ask, how can i use local files in your description about the docker nextcloudpi
      omv 4.x | 64 bit | omvextrasorg 4.x | kernel 4.16
      used plugins: nginx | mysql | docker-gui |rsnapshot | antivirus | apt tool | letsEncrypt |
      used other: netxtcloud | logitechmediaserver | Jellyfin | Lychee
    • happyreacer wrote:

      TechnoDadLife wrote:

      happyreacer wrote:

      @TechnoDadLife Thank you for the nice video!
      I have a question about the intiration of local folder. I think the performance is mutch faster to intigrate it directly without smb/cfs. But how can i make it? In the moment i use the OMV4 Docker plugin and i can take the folders in the options for a local path use in nextcloud.
      I don't have any experience with the plugin, so better to ask someone else.
      ah sorry, i would like to ask, how can i use local files in your description about the docker nextcloudpi
      I showed that in the video. You add external shares. (top right of gui)
      Build, Learn, Create.

      How to Videos for OMV

      Post any questions to the forum, so others can benefit from your curiosity. :thumbsup:
      No private support.
    • I greatly enjoy the videos @TechnoDadLife, they are easy to follow. I'm running into an installation issue however. My environment is a RockPro64 4GB, no hard drives, with a 64GB microSD card. This is only to test the installation with my intention to see if I can path to my Synology and use that for data storage. At any rate I'm receiving the following error in the logs:

      Starting Redis
      -1 }" style="box-sizing: border-box; padding-right: 15px; padding-left: 15px; cursor: pointer;">282:C 29 Jan 2020 23:18:45.490 # Fatal error, can't open config file '/etc/redis/redis.conf'

      I can log into the NextCloud activation screen but when I click Activate a spinning icon is displayed along with "NextCloudPi not yet initialized, trying again in a few seconds ...". I don't know if this is related to the Redis error. Thank you for any information or guidance with this issue.
    • liquidJiggy wrote:

      I greatly enjoy the videos @TechnoDadLife, they are easy to follow. I'm running into an installation issue however. My environment is a RockPro64 4GB, no hard drives, with a 64GB microSD card. This is only to test the installation with my intention to see if I can path to my Synology and use that for data storage. At any rate I'm receiving the following error in the logs:

      Starting Redis
      -1 }" style="box-sizing: border-box; padding-right: 15px; padding-left: 15px; cursor: pointer;">282:C 29 Jan 2020 23:18:45.490 # Fatal error, can't open config file '/etc/redis/redis.conf'

      I can log into the NextCloud activation screen but when I click Activate a spinning icon is displayed along with "NextCloudPi not yet initialized, trying again in a few seconds ...". I don't know if this is related to the Redis error. Thank you for any information or guidance with this issue.
      First, I think you need a disk attached to make this work.
      Second, delete everything and reinstall. You have an error that seems to be unique enough that nothing comes up when checking google.
      Build, Learn, Create.

      How to Videos for OMV

      Post any questions to the forum, so others can benefit from your curiosity. :thumbsup:
      No private support.
    • TechnoDadLife wrote:

      liquidJiggy wrote:

      I greatly enjoy the videos @TechnoDadLife, they are easy to follow. I'm running into an installation issue however. My environment is a RockPro64 4GB, no hard drives, with a 64GB microSD card. This is only to test the installation with my intention to see if I can path to my Synology and use that for data storage. At any rate I'm receiving the following error in the logs:

      Starting Redis
      -1 }" style="box-sizing: border-box; padding-right: 15px; padding-left: 15px; cursor: pointer;">282:C 29 Jan 2020 23:18:45.490 # Fatal error, can't open config file '/etc/redis/redis.conf'

      I can log into the NextCloud activation screen but when I click Activate a spinning icon is displayed along with "NextCloudPi not yet initialized, trying again in a few seconds ...". I don't know if this is related to the Redis error. Thank you for any information or guidance with this issue.
      First, I think you need a disk attached to make this work.Second, delete everything and reinstall. You have an error that seems to be unique enough that nothing comes up when checking google.
      I was able to locate a spare 500GB hard drive. The good news is I'm no longer receiving the specific error mentioned earlier. The bad news is it's now a different error. In the logs I receive the error below. The permissions for the directory look good unless there is somewhere else I should be looking. I've removed the container and re-downloaded the image but so far it's still the same error.

      /run-parts.sh: line 47: /etc/services-enabled.d/010lamp: Permission denied
      /run-parts.sh: line 47: /etc/services-enabled.d/020nextcloud: Permission denied
    • TechnoDadLife wrote:

      Try showing the permissions for the disk and directory.

      Also take a look at this. Docker ownyourbits/nextcloudpi-armhf with custom data directory

      Did you remove noexec?
      Ok, made it a little further thanks to the link you referenced. Through the link I also read another user experiencing a similar issue, see link below. I found the fstab file contained a reference to the new hard drive and also had noexec. Once I removed that I stopped nextcloudpi, removed it, deleted the volume, and then restarted OMV. I'm back to my original error but at least I resolved the previous one. Baby steps.

      docker logs -f nextcloudpi

      Making /usr/local/etc/ncp-config.d persistent ...
      Making /etc/services-enabled.d persistent ...
      Making /etc/letsencrypt persistent ...
      Making /etc/shadow persistent ...
      Making /etc/cron.d persistent ...
      Making /etc/cron.daily persistent ...
      Making /etc/cron.hourly persistent ...
      Making /etc/cron.weekly persistent ...
      Making /usr/local/bin persistent ...
      Making /etc/apache2 persistent ...
      Starting PHP-fpm
      Starting Apache
      Starting mariaDB
      2020-02-11 23:24:19 0 [Note] mysqld (mysqld 10.3.15-MariaDB-1) starting as process 141 ...
      Starting Redis
      277:C 11 Feb 2020 23:24:20.769 # Fatal error, can't open config file '/etc/redis/redis.conf'


      Reference:
      help.nextcloud.com/t/nextcloud…n-seems-to-bother/59466/5
    • It looks like this issue was identified and fixed in the github repository. I examined the latest docker image where these fixes should be inserted and it doesn't look like ownyourbits/nextcloudpi-armhf:latest has the fix included. This is running the command recommended in the video and on the nextcloudpi website.

      Reference:
      github.com/nextcloud/nextcloudpi/pull/1021
      docs.nextcloudpi.com/en/how-to-get-started-with-ncp-docker/
    • Finally got it working. As with the reference above there is a fix for 3 different files which are permission based. Please reference the link above for the fix of each file, I've included the location of the files below. Once the files are updated then delete the container, not the volume or image, and restart the container as mentioned in the @TechnoDadLife video or the nextcloudpi website. Hopefully this will help others until the docker image is updated with the fix.

      File locations:
      /ncdata/bin/ncp-provisioning.sh
      /ncdata/bin/ncp/CONFIG/nc-limits.sh
      /ncdata/etc/services-enabled.d/020nextcloud