SSL problem with Owncloud and Nextcloud

  • I followed the tuto to get Owncloud using nginx and mysql.


    Then I tryed to instal docker manually and it seems I have broken something in my OMV system because I can't get access to Owncloud. Then I installed Nextcloud but I had the same problem, and I get an SSL error, so I cant log in to my owncloud.


    This is the thing I did that it may have caused the problem (I was trying to install manually Docker cause I didn't reallyze it was on repo in OMV3):


    apt-get update
    apt-get install apt-transport-https ca-certificates
    apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D


    Then I aded this repo:


    deb [arch=armel,armhf] https://apt.dockerproject.org/repo debian-jessie main


    Then I did:


    apt-get update and got some error and I didn't go ahead.


    Please help.


    (I promise once this plugin is working I won't touch my NAS) ;););)

  • I did a fresh install of all the system. I installed NEXTCLOUD just to give it a try, and is nearly the same app as Owncloud.


    No errors in OMV.


    But I get the an error in the web explorer I use when I try to access my Nextcloud app from outside my network:


    SSL_ERROR_RX_RECORD_TOO_LONG


    No other error, no log.


    Any idea why this happens?

  • /var/log/nginx/openmediavault-webgui_error.log

    Code
    2016/10/25 07:01:19 [error] 951#0: *2249 FastCGI sent in stderr: "PHP message: Invalid IP address" while reading response header from upstream, client: ::ffff:66.249.93.12, server: openmediavault-webgui, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-openmediavault-webgui.sock:", host: "joaquinainnas.mooo.com:1590", referrer: "http://joaquinainnas.mooo.com:1590/"
  • Some errors...fine...the Pros may find a solution...
    No errors from the sources i asked?


    Murphy

    My Odroid does not have a folder called "syslog" nor "messages" in /var/log/ so what I did is search for logs related with nginx and mysql, and nextcloud.


    This error is very strange because I can get Nextcloud from outside, I put my user and password and the reply leads me to the https version of nextcloud and I have the SSL error, so I can't access the web with my data.


    And this is keeping in mind that I did a new installation of OMV3.


    So I do not know what to do.


    Thanks for your help anyway.

  • Well


    I am stubborn as a mule so after many attempts I finally found my problem with nextcloud / owncloud.


    The problems I did have were (I am refering from now on to nextcloud 10.0.0.1 because owncloud 9.1.1. has a bug and I went with nextcloud):


    1.- Access blocked from outside my network giving SSL error even I had not configured the server with SSL.


    To solve this problem you have to add the following line to the config.php file of your nextcloud:


    'overwriteprotocol' => 'http',

    2.- Upload limit of files using web access.


    To sort out this you need to change the following parameters in the /etc/php5/fpm/pool.d/ *.conf files


    php_value[post_max_size] = 25G
    php_value[upload_max_filesize] = 25G

    watch out because there are several files and not all of them affect nextcloud I reallized which was mine because of the date and also because it had mysql on the name, and I only use myswl for the nextcloud app.


    That's all, right now I have my OMV3 runing everything I need.


    Best regards.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!