Strange Problems In Nextcloud I beg for help!

Hi everyone I have an annoying and strange problem

System Information
FreeNAS 11.1 U5
Nextcloud 13.0.2
PHP version 7.0.30
Storage: SMB

The problem is that I try to download files in my domain(outside the network) so the download gets stuck and after a minute - 30 seconds it fails it can be stuck at the beginning in the middle or immediatel
And the strange thing is that in my IP local network it can download no problems at all

So they told me (Forum of freenas) that it was the ISP that blocked it (even though I spoke to them and they said they were not blocking anything, I do not know if to believe them)

For testing I opened up an FTP server through a Windows computer and connected outside the network and it was downloaded without any problems at all

Someone at FreeNAS Forum suggested that I check directly through the IP I get through the ISP
And the results are:
I tried downloading a file that weighs 881MB and then gets stuck at 50 MB
I tried the second time the same file got stuck at 645 MB
Then again for the third time (I had to look with a change) and then it got stuck at 25 MB
Then I tried the last time (for the fourth time) and he downloaded the whole file all 881 MB
And the file opens without problems

Downloads do not make the 60 MB and this one is with luck
Not strange?

Sorry for the English - Google translation
I used this guide https://forums.freenas.org/index.ph...ll-checks-passed-updated-to-use-iocage.61934/
I installed the jail through vent
I had this problem in the Owncloud plug-in but I turned to Owncloud Forum they told me it’s because I’m missing PHP files so that’s why I moved on to Nextcloud
So you think it’s the ISP all the time despite what I mentioned above?
Any additional information you need just say
I also checked with someone who has a system setup (from the same directory) really similar to mine and everything works
My DNS 1.1.1.1 (https://1.1.1.1)

Someone here has a way of thinking about a solution or checking out the problem because I’m desperate and already this problem haunts me!

Thanks Itay

!!Begging for help

Hey,

Without logs we can only guess what could be wrong. Could be resource exhaustion.

No problem!
Are you talking about the Nextcloud ui log?
Or within the FreeNAS jail?
Can you please tell what kind of log you need that there are many

Webserver, Nextcloud logs.

Apache log

[Mon May 28 17:17:54.088976 2018] [ssl:warn] [pid 83403] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon May 28 17:17:54.335127 2018] [mpm_prefork:notice] [pid 83403] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Mon May 28 17:17:54.335243 2018] [core:notice] [pid 83403] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon May 28 17:27:42.791032 2018] [mpm_prefork:notice] [pid 83403] AH00169: caught SIGTERM, shutting down
[Mon May 28 17:27:42.943038 2018] [ssl:warn] [pid 84102] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon May 28 17:27:43.189699 2018] [mpm_prefork:notice] [pid 84102] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Mon May 28 17:27:43.189840 2018] [core:notice] [pid 84102] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon May 28 17:28:42.689969 2018] [mpm_prefork:notice] [pid 84102] AH00169: caught SIGTERM, shutting down
[Mon May 28 17:28:42.841934 2018] [ssl:warn] [pid 84173] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon May 28 17:28:43.088328 2018] [mpm_prefork:notice] [pid 84173] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Mon May 28 17:28:43.088458 2018] [core:notice] [pid 84173] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon May 28 17:29:22.000990 2018] [mpm_prefork:notice] [pid 84173] AH00169: caught SIGTERM, shutting down
[Mon May 28 17:29:22.160085 2018] [ssl:warn] [pid 84215] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon May 28 17:29:22.406266 2018] [mpm_prefork:notice] [pid 84215] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Mon May 28 17:29:22.406346 2018] [core:notice] [pid 84215] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Thu May 31 17:02:28.707305 2018] [mpm_prefork:notice] [pid 84215] AH00169: caught SIGTERM, shutting down
[Thu May 31 17:08:09.609523 2018] [ssl:warn] [pid 3656] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu May 31 17:08:13.517123 2018] [mpm_prefork:notice] [pid 3656] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Thu May 31 17:08:13.517248 2018] [core:notice] [pid 3656] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Jun 08 17:20:43.392495 2018] [mpm_prefork:notice] [pid 3656] AH00169: caught SIGTERM, shutting down
[Fri Jun 08 17:23:34.284123 2018] [ssl:warn] [pid 3691] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jun 08 17:23:37.740154 2018] [mpm_prefork:notice] [pid 3691] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Fri Jun 08 17:23:37.740279 2018] [core:notice] [pid 3691] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Jun 08 18:03:20.885136 2018] [mpm_prefork:notice] [pid 3691] AH00169: caught SIGTERM, shutting down
[Fri Jun 08 18:06:12.752700 2018] [ssl:warn] [pid 3590] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jun 08 18:06:16.032791 2018] [mpm_prefork:notice] [pid 3590] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Fri Jun 08 18:06:16.032929 2018] [core:notice] [pid 3590] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Jun 08 20:24:02.144275 2018] [ssl:error] [pid 5770] [client 139.162.207.173:57072] AH02042: rejecting client initiated renegotiation
[Mon Jun 11 22:18:51.649440 2018] [mpm_prefork:notice] [pid 3590] AH00169: caught SIGTERM, shutting down
[Mon Jun 11 22:18:51.905261 2018] [ssl:warn] [pid 27523] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Jun 11 22:18:52.152843 2018] [mpm_prefork:notice] [pid 27523] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations
[Mon Jun 11 22:18:52.152933 2018] [core:notice] [pid 27523] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Wed Jun 13 18:53:48.682410 2018] [mpm_prefork:notice] [pid 27523] AH00169: caught SIGTERM, shutting down
[Wed Jun 13 18:53:58.956259 2018] [ssl:warn] [pid 69156] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jun 13 18:53:59.233702 2018] [mpm_prefork:notice] [pid 69156] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.0.30 configured -- resuming normal operations

Error is related to build apache + php. Mostly due to a bad config or a missing module. this happend sometimes when you rely on pre-build install instead of make/install your own

check your httpd.conf
something like the following should exist.

LoadModule php7_module libexec/apache24/libphp7.so
LoadModule rewrite_module libexec/apache24/mod_rewrite.so

Also, your php.conf should have something like:

LoadModule php7_module        libexec/apache24/libphp7.so

<IfModule php7_module>
    <FilesMatch "\.(php|phps|php7|phtml)$">
        SetHandler php7-script
    </FilesMatch>
    DirectoryIndex index.php
</IfModule>

<IfModule mime_module>

    ...

    AddType application/x-httpd-php-source .phps
    AddType application/x-httpd-php        .php

    ...

</IfModule>

I know exactly what lines you mean
Because I put them in there and those lines are there

Is there a problem with PHP?
I thought trying to install 7.1 or 7.2 thinking would help in something?

the problem is you OS.
I definitely switch away from NAS4FREE, FREENAS and Openmediavault because dependencies are an overkill to manages. I like to control everything and been stuck by some weirdo config or missing ( impossible to add because they break the OS ) dependencies is not for me.

I would say, with freenass you need to refer to:

after that, NC13.0.4 might no be supported because of specific dependencies … or weird reason.

As i always say, a nextcloud server come in two parts:

  • OS, webserver and raid management
  • nextcloud app

Having no control on one of those two elements is a no go for me.

I spoke with the FreeNAS community and also with github and they said to talk to you and I do not think it is a problem in FreeNAS because I mention it works within the network I will try to try to replace PHP Maybe it will fix it because no one knows what the problem I will try in such and other ways