Resource icon

Scripted installation of Nextcloud 28 in iocage jail 2018-03-23

nick23369

Cadet
Joined
Jan 19, 2021
Messages
8
Hi, unfortunately after googling around I couldn't find out what my problem is in renewing the certificate for Nextcloud behind pfSense. Therefore I tried to put back in place my ISP router (FritzBox 7590) and I could get my certificate with DNS validation without any problem. That means I do not have the right settings in pfSense although I thought I have "copied" those from FritzBox. Is there someone who is willing to share or to tell me pfSense settings for an installation of Nextcloud using the Danb35 script with DNS validation?
Thanks a lot!
 

ThatGuyAZ

Dabbler
Joined
Apr 28, 2021
Messages
32
Thank you for this script, I have used it and believe that I have a semi working version of NextCloud installed. I have a couple questions thought that I'm hoping someone can help me with. Some of these questions have to do with my inexperience with NextCloud, others my inexperience with TrueNAS. Any help you can provide would be greatly appreciated.

  • First I use a host-name of "nextcloud.mydomain.com" although I didn't receive any errors. I couldn't access the login from that domain and I received this error when trying to access it (ERR_SSL_PROTOCOL_ERROR) regardless of browser I used. Had to nuke the jail. Now I can access Nextcloud from http://mydomain.com; Can this be changed to make the wildcard work?
  • I use namecheap for my domain and my Dynamic DNS updating (along with pfsense). I'm thinking it may be best to buy a SSL that will cover all wildcards so that I can do SSL for my jails (unifi, pfsense, plex, nextcloud, etc). Is there a way to incorporate an SSL purchased from another provider with Nextcloud using your script? If not using your script, is there a resource elsewhere to provide this functionality?
  • I followed the resource and added the 4 datasets. My intended usage of Nextcloud is to do camera uploads from my phone to my NAS. I then have another dataset with all of my pictures that I copy the images/videos I want to keep to. How would I do this, as Nextcloud currently only has access to the dataset that I created. I have other datasets that I also might like to move files to/from and from reading up this should not be done outside of Nextcloud........So how do I do this with nextcloud?
  • In the instructions you state regarding changing zfs = metadata for a dataset (db). How do I confirm that this was done correctly? the instructions seem wrong to me (doesn't include the "/mnt" portion) however my knowledge of Truenas is in the infancy stage. I'd like some way to verify that the dataset is indeed setup correctly.
  • Lastly, this is no criticism, I am only pointing it out to help. The example you provide for the config file doesn't have the standalone cert option correct. It should be STANDALONE_CERT="1" (quotations missing on the github). I missed that in my cut and paste, so it took me a minute to see what I had done wrong.

Thank you so much for your time creating this excellent script.
Any help here?
 

T_T

Explorer
Joined
Jul 24, 2018
Messages
64
I have been getting some errors from nextcloud log and the problem might be some PHP stuff. So, I went ahead and do a
Code:
pkg update && pkg upgrade
. Then I get the error as shown below. How do I upgrade mysql? and Do I also need to remove www.conf?
error.png
 
Joined
Jan 4, 2014
Messages
1,644
How do I upgrade mysql?
Code:
mysql_upgrade --skip-version-check -p


You'll need the MariaDB root password, which you will find in the root directory outside the jail. If the jail is named nexcloud, look in /root/nextcloud_db_password.txt.
 

T_T

Explorer
Joined
Jul 24, 2018
Messages
64
Code:
mysql_upgrade --skip-version-check -p


You'll need the MariaDB root password, which you will find in the root directory outside the jail. If the jail is named nexcloud, look in /root/nextcloud_db_password.txt.

I'm getting a message saying:
Code:
This installation of MySQL is already upgraded to 10.3.31-MariaDB, use --force if you still need to run mysql_upgrade


I check the MySQL version and it's still saying it's 10.3.30. Any idea what's am I missing here?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,740

T_T

Explorer
Joined
Jul 24, 2018
Messages
64
Within the nextcloud jail. I did mysql -v and here is the result I get.
Untitled.png


pkg info got me this
Code:
ImageMagick6-nox11-6.9.12.12,1 Image processing tools (legacy version)
autoconf-2.69_3                Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
avahi-app-0.8                  Service discovery on a local network
bash-5.1.8                     GNU Project's Bourne Again SHell
boost-libs-1.72.0_5            Free portable C++ libraries (without Boost.Python)
ca_root_nss-3.63               Root certificate bundle from the Mozilla Project
cups-2.3.3op2                  Common UNIX Printing System
curl-7.78.0                    Command line tool and library for transferring data with URLs
cvsps-2.1_2                    Create patchset information from CVS
dbus-1.12.20_5                 Message bus system for inter-application communication
dbus-glib-0.110                GLib bindings for the D-BUS messaging system
expat-2.4.1                    XML 1.0 parser written in C
fftw3-3.3.9                    Fast C routines to compute the Discrete Fourier Transform
fontconfig-2.13.93_1,1         XML-based font configuration API for X Windows
freetype2-2.10.4               Free and portable TrueType font rendering engine
fribidi-1.0.10                 Free Implementation of the Unicode Bidirectional Algorithm
galera-25.3.33                 Synchronous multi-master replication engine
gamin-0.1.10_10                File and directory monitoring system
gdbm-1.20                      GNU database manager
gettext-runtime-0.21           GNU gettext runtime libraries and programs
ghostscript9-agpl-base-9.52_18 PostScript and PDF interpreter
giflib-5.2.1                   Tools and library routines for working with GIF images
git-2.32.0_1                   Distributed source code management tool
glib-2.66.8,2                  Some useful routines of C programming (current stable version)
gmp-6.2.1                      Free library for arbitrary precision arithmetic
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
gnupg-2.3.2                    Complete and free PGP implementation
gnutls-3.6.15                  GNU Transport Layer Security library
go-1.16.7,1                    Go programming language
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
gsfonts-8.11_8                 Standard Fonts for Ghostscript
harfbuzz-2.8.1                 OpenType text shaping engine
help2man-1.48.3                Automatically generating simple manual pages from program output
icu-69.1,1                     International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
jansson-2.13.1                 C library for encoding, decoding, and manipulating JSON data
jbig2dec-0.19                  Decoder implementation of the JBIG2 image compression format
jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.0.6               SIMD-accelerated JPEG codec which replaces libjpeg
lcms2-2.12                     Accurate, fast, and small-footprint color management engine
libICE-1.0.10,1                Inter Client Exchange library for X11
libSM-1.2.3,1                  Session Management library for X11
libX11-1.7.2,1                 X11 library
libXau-1.0.9                   Authentication Protocol library for X11
libXdmcp-1.1.3                 X Display Manager Control Protocol library
libarchive-3.5.1,1             Library to create and read several streaming archive formats
libargon2-20190702             Memory hard password hashing program and library
libassuan-2.5.5                IPC library used by GnuPG and gpgme
libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
libedit-3.1.20210216,1         Command line editor library
libevent-2.1.12                API for executing callback functions on events or timeouts
libffi-3.3_1                   Foreign Function Interface
libgcrypt-1.9.3                General purpose cryptographic library based on the code from GnuPG
libgd-2.3.1,1                  Graphics library for fast creation of images
libgpg-error-1.42              Common error values for all GnuPG components
libiconv-1.16                  Character set conversion library
libidn-1.35                    Internationalized Domain Names command line tool
libidn2-2.3.1                  Implementation of IDNA2008 internationalized domain names
libinotify-20180201_2          Kevent based inotify compatible library
libksba-1.6.0                  Library to make X.509 certificates
liblqr-1-0.4.2                 Easy to use C/C++ seam carving library
libltdl-2.4.6                  System independent dlopen wrapper
liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast
libnghttp2-1.43.0              HTTP/2.0 C Library
libpaper-1.1.24.4              Library providing routines for paper size management
libpthread-stubs-0.4           Weak aliases for pthread functions
libraqm-0.7.1                  Library that encapsulates complex text layout logic
libraw-0.20.2                  Library for manipulating raw images
libsunacl-1.0.1                Wrapper providing SunOS NFSv4 ACL API
libtasn1-4.17.0                ASN.1 structure parser library
libunistring-0.9.10_1          Unicode string library
libunwind-20201110             Generic stack unwinding library
libwmf-nox11-0.2.12            Tools and library for converting Microsoft WMF (windows metafile)
libxcb-1.14_1                  The X protocol C-language Binding (XCB) library
libxml2-2.9.12                 XML parser library for GNOME
libxslt-1.1.34_2               XML stylesheet transformation library
libzip-1.7.3                   C library for reading, creating, and modifying ZIP archives
lmdb-0.9.28,1                  OpenLDAP Lightning Memory-Mapped Database
m4-1.4.18_1,1                  GNU M4
mariadb103-client-10.3.31_1    Multithreaded SQL database (client)
mariadb103-server-10.3.31_1    Multithreaded SQL database (server)
mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries
nano-5.8                       Nano's ANOther editor, an enhanced free Pico clone
nettle-3.7.3                   Low-level cryptographic library
npth-1.6                       New GNU Portable Threads
oniguruma-6.9.7.1              Regular expressions library compatible with POSIX/GNU/Perl
openjpeg-2.4.0                 Open-source JPEG 2000 codec
openldap-client-2.4.59         Open source LDAP client implementation
p11-kit-0.24.0                 Library for loading and enumerating of PKCS#11 modules
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-CGI-4.53                    Handle Common Gateway Interface requests and responses
p5-Clone-0.45                  Recursively copy Perl datatypes
p5-Digest-HMAC-1.04            Perl5 interface to HMAC Message-Digest Algorithms
p5-Encode-Locale-1.05          Determine the locale encoding
p5-Error-0.17029               Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
p5-HTML-Parser-3.76            Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20_1          Some useful data table in parsing HTML
p5-HTTP-Date-6.05              Conversion routines for the HTTP protocol date formats
p5-HTTP-Message-6.32           Representation of HTTP style messages
p5-IO-HTML-1.001_1             Open an HTML file with automatic charset detection
p5-IO-Socket-INET6-2.72_1      Perl module with object interface to AF_INET6 domain sockets
p5-IO-Socket-SSL-2.071         Perl5 interface to SSL sockets
p5-LWP-MediaTypes-6.04         Guess media type for a file or a URL
p5-Locale-gettext-1.07         Message handling functions
p5-Locale-libintl-1.32         Internationalization library for Perl
p5-Mozilla-CA-20200520         Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-SSLeay-1.90             Perl5 interface to SSL
p5-Socket6-0.29                IPv6 related part of the C socket.h defines and structure manipulators
p5-Text-Unidecode-1.30         US-ASCII transliterations of Unicode text
p5-TimeDate-2.33,1             Perl5 module containing a better/faster date parser for absolute dates
p5-URI-5.09                    Perl5 interface to Uniform Resource Identifier (URI) references
p5-Unicode-EastAsianWidth-12.0 East Asian Width properties
panda-cclient-20130621_1       Mark Crispin's C-client mail access routines forked from UW
pcre-8.45                      Perl Compatible Regular Expressions library
pcre2-10.37                    Perl Compatible Regular Expressions library, version 2
perl5-5.32.1_1                 Practical Extraction and Report Language
php74-7.4.23                   PHP Scripting Language
php74-bcmath-7.4.23            The bcmath shared extension for php
php74-bz2-7.4.23               The bz2 shared extension for php
php74-ctype-7.4.23             The ctype shared extension for php
php74-curl-7.4.23              The curl shared extension for php
php74-dom-7.4.23               The dom shared extension for php
php74-exif-7.4.23              The exif shared extension for php
php74-fileinfo-7.4.23          The fileinfo shared extension for php
php74-filter-7.4.23            The filter shared extension for php
php74-ftp-7.4.23               The ftp shared extension for php
php74-gd-7.4.23                The gd shared extension for php
php74-gmp-7.4.23               The gmp shared extension for php
php74-iconv-7.4.23             The iconv shared extension for php
php74-imap-7.4.23              The imap shared extension for php
php74-intl-7.4.23              The intl shared extension for php
php74-json-7.4.23              The json shared extension for php
php74-ldap-7.4.23              The ldap shared extension for php
php74-mbstring-7.4.23          The mbstring shared extension for php
php74-mysqli-7.4.23            The mysqli shared extension for php
php74-opcache-7.4.23           The opcache shared extension for php
php74-openssl-7.4.23           The openssl shared extension for php
php74-pcntl-7.4.23             The pcntl shared extension for php
php74-pdo-7.4.23               The pdo shared extension for php
php74-pdo_mysql-7.4.23         The pdo_mysql shared extension for php
php74-pecl-APCu-5.1.20         APC User Caching
php74-pecl-imagick-3.4.4_2     PHP wrapper to the ImageMagick/GraphicsMagick library version 6
php74-pecl-memcache-8.0        Memcached extension
php74-pecl-redis-5.3.2         Extension to access Redis
php74-pecl-smbclient-1.0.6     Smbclient wrapper extension
php74-posix-7.4.23             The posix shared extension for php
php74-session-7.4.23           The session shared extension for php
php74-simplexml-7.4.23         The simplexml shared extension for php
php74-xml-7.4.23               The xml shared extension for php
php74-xmlreader-7.4.23         The xmlreader shared extension for php
php74-xmlwriter-7.4.23         The xmlwriter shared extension for php
php74-xsl-7.4.23               The xsl shared extension for php
php74-zip-7.4.23               The zip shared extension for php
php74-zlib-7.4.23              The zlib shared extension for php
pinentry-1.1.1                 Collection of simple PIN or passphrase entry dialogs
pinentry-curses-1.1.1          Curses version of the GnuPG password dialog
pkg-1.16.3                     Package manager
pkgconf-1.7.4,1                Utility to help to configure compiler and linker flags
png-1.6.37_1                   Library for manipulating PNG images
poppler-data-0.4.10            Poppler encoding data
popt-1.18_1                    Getopt(3) like library with a number of enhancements, from Redhat
py37-dnspython-1.16.0          DNS toolkit for Python
py37-setuptools-57.0.0         Python packages installer
py38-dnspython-1.16.0          DNS toolkit for Python
py38-importlib-metadata-3.3.0_1 Read metadata from Python packages
py38-markdown-3.3.4            Python implementation of Markdown
py38-setuptools-57.0.0         Python packages installer
py38-zipp-3.4.0                Backport of pathlib-compatible object wrapper for zip files
python37-3.7.10_1              Interpreted object-oriented programming language
python38-3.8.10                Interpreted object-oriented programming language
readline-8.1.1                 Library for editing command lines as they are typed
redis-6.0.15                   Persistent key-value database with built-in net interface
rsync-3.2.3_1                  Network file distribution/synchronization utility
samba412-4.12.15_1             Free SMB/CIFS and AD/DC server and client for Unix
sqlite3-3.35.5_3,1             SQL database engine in a C library
sudo-1.9.8                     Allow others to run commands as root
talloc-2.3.1                   Hierarchical pool based memory allocator
tdb-1.4.3,1                    Trivial Database
tevent-0.10.2_1                Talloc based event loop library
texinfo-6.7_5,1                Typeset documentation system with multiple format output
tiff-4.3.0                     Tools and library routines for working with TIFF images
tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator
trousers-0.3.14_3              Open-source TCG Software Stack
unixODBC-2.3.9                 ODBC library suite for Unix
webp-1.2.0                     Google WebP image format conversion tool
xorgproto-2021.4               X Window System unified protocol definitions
xxhash-0.8.0                   Extremely fast non-cryptographic hash algorithm
zstd-1.5.0                     Fast real-time compression algorithm
 

T_T

Explorer
Joined
Jul 24, 2018
Messages
64
I am also getting the same error whenever I try to do the auto upload photo thing on the IOS app. I don't know if the 2 problems below are related to the auto uploading issue. But it seem like every time I try to turn on on the auto upload. It only upload around like 200 files out of ~34k files. My nextcloud jail would freeze and I can't even do iocage --force stop nextcloud.
Untitled.png


Within Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle.

Code:
[core] Error: Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle. at <<closure>>

 0. /usr/local/www/nextcloud/lib/private/Comments/Manager.php line 656
    OC\DB\QueryBuilder\QueryBuilder->execute()
 1. /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php line 89
    OC\Comments\Manager->getNumberOfUnreadCommentsForObjects("files", ["259650","26000 ... "], OC\User\User {})
 2. /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php line 117
    OCA\DAV\Connector\Sabre\CommentPropertiesPlugin->cacheDirectory(OCA\DAV\Connector\Sabre\Directory {})
 3. /usr/local/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\CommentPropertiesPlugin->handleGetProperties(Sabre\DAV\PropFind {}, OCA\DAV\Connector\Sabre\Directory {})
 4. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit("propFind", [Sabre\DAV\PropF ... }])
 5. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\DAV\Connector\Sabre\Directory {})
 6. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1661
    Sabre\DAV\Server->getPropertiesIteratorForPath("files/facebookt ... e", ["{DAV:}getlastm ... "], 1)
 7. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1646
    Sabre\DAV\Server->writeMultiStatus(Sabre\Xml\Writer ... ]}, Generator {}, false)
 8. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus(Generator {}, false)
 9. /usr/local/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
10. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit("method:PROPFIND", [Sabre\HTTP\Requ ... }])
11. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
12. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
13. /usr/local/www/nextcloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
14. /usr/local/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
15. /usr/local/www/nextcloud/remote.php line 167
    require_once("/usr/local/www/ ... p")

PROPFIND /remote.php/dav/files/[myuser1]/[myuser1]/Iphone
from [myuser IP address] by [myuser1] at 2021-09-23T17:48:34-05:00



Within Error: Error: Cannot modify header information - headers already sent by (output started at /usr/local/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691

Code:
 Error: Cannot modify header information - headers already sent by (output started at /usr/local/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/usr/local/www/ ... p", 691, {string: "X-Hash ... "})
 1. /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 691
    header("X-Hash-MD5: 24a ... d")
 2. /usr/local/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 189
    OCA\DAV\Connector\Sabre\File->header("X-Hash-MD5: 24a ... d")
 3. <<closure>>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 4. /usr/local/www/nextcloud/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, "*** sensitive parameter replaced ***")
 5. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 6. /usr/local/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 95
    fclose(null)
 7. /usr/local/www/nextcloud/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
 8. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 9. /usr/local/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 95
    fclose(null)
10. /usr/local/www/nextcloud/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
11. /usr/local/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    OC\Files\Stream\HashWrapper->stream_close()
12. /usr/local/www/nextcloud/apps/dav/appinfo/v1/webdav.php line 84
    Sabre\DAV\Server->exec()
13. /usr/local/www/nextcloud/remote.php line 167
    require_once("/usr/local/www/ ... p")

PUT /remote.php/webdav/Photos/19-10-19%2016-40-02%20F90D.jpg
from [user ip] by [username] at 2021-09-23T17:18:38-05:00
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,740
No idea about your errors. But both MariaDB and pkg info tell you that you are running 10.3.31. So what gave you the impression you were running 10.3.30?
 

Aephir

Dabbler
Joined
Apr 25, 2021
Messages
47
Hi, thanks for the script. I've been running Nextcloud for a while using this, but yesterday I broke it. If I navigate to nextcloud (either internal IP of external FQDN), I get this page saying:

Code:
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.


The only error I could see in the caddy.log (/var/log/caddy/caddy.log) is:
Code:
{"level":"error","ts":1623831299.6262197,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"write tcp 10.0.30.67:80->10.0.30.21:49306: write: broken pipe"}


10.0.30.67 is my nextcloud jail, and 10.0.30.21 is an Ubuntu machine where I'm running an nginx/letsencrypt docker container that serves all my services outward. I have no clue what port 49306 is.

I haven't made any changes in either caddy (in jail), nginx (pertaining to the nextcloud site), or the network in general. All other services (including the TrueNAS web UI from 10.0.30.27) are still served just fine via nginx.

When it stopped working, I was trying to integrate OnlyOffice, and made a few additions to the nextcloud config.php. However, I deleted them again, and rebooted the entire TrueNAS system, and the issue persists.

Any ideas?
 
Last edited:
Joined
Jan 4, 2014
Messages
1,644
@Aephir From the NC jail shell, or, better still, a terminal program like PuTTY, what is the output of caddy version please?
 

Aephir

Dabbler
Joined
Apr 25, 2021
Messages
47
@Basil Hendroff: from iocage exec nextcloud caddy version:

Code:
v2.4.2 h1:chB106RlsIaY4mVEyq9OQM5g/9lHYVputo/LAX2ndFg=
 
Joined
Jan 4, 2014
Messages
1,644
@Aephir This isn't the latest version of Caddy. While it may not resolve the issue, upgrade Caddy to at least eliminate it from being the culprit. I note a PHP security fix in 2.4.3. To upgrade to 2.4.5, from the NC jail run caddy upgrade.
 

T_T

Explorer
Joined
Jul 24, 2018
Messages
64
No idea about your errors. But both MariaDB and pkg info tell you that you are running 10.3.31. So what gave you the impression you were running 10.3.30?
My bad. I think it took a restart for it to get to the new update. I wasn't pay attention when taking the picture and it has already been updated.
Thank you!
 

Aephir

Dabbler
Joined
Apr 25, 2021
Messages
47
@Basil Hendroff , I upgraded, and now I don't see the error in the logs. But the message displayed in the browser is the same, it tells me to look at the webserver log. In case it helps, here's the caddy.log (copied the last few lines; they repeat quite a few times, I'm guessing since the upgrade).

Code:
{"level":"info","ts":1632549030.6529791,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/stop","remote_addr":"127.0.0.1:54657","headers":{"Accept-Encoding":["gzip"],"Content-Length":["0"],"Origin":["localhost:2019"],"User-Agent":["Go-http-client/1.1"]}}
{"level":"warn","ts":1632549030.653143,"logger":"admin.api","msg":"exiting; byeee!! "}
{"level":"info","ts":1632549030.653379,"logger":"tls.cache.maintenance","msg":"stopped background certificate maintenance","cache":"0xc0003705b0"}
{"level":"info","ts":1632549030.6547458,"logger":"admin","msg":"stopped previous server","address":"tcp/localhost:2019"}
{"level":"info","ts":1632549030.6548004,"logger":"admin.api","msg":"shutdown complete","exit_code":0}
{"level":"info","ts":1632549039.4043186,"msg":"using provided configuration","config_file":"/usr/local/www/Caddyfile","config_adapter":"caddyfile"}
{"level":"warn","ts":1632549039.4077785,"logger":"caddy.logging.encoders.single_field","msg":"the 'single_field' encoder is deprecated and will be removed soon!"}
{"level":"info","ts":1632549039.4083643,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["127.0.0.1:2019","localhost:2019","[::1]:2019"]}
{"level":"info","ts":1632549039.4085803,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
{"level":"info","ts":1632549039.4086554,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000508230"}
{"level":"info","ts":1632549039.4095757,"msg":"autosaved config (load with --resume flag)","file":"/var/db/caddy/config/caddy/autosave.json"}
{"level":"info","ts":1632549039.4095964,"msg":"serving initial configuration"}
{"level":"info","ts":1632549039.409691,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/var/db/caddy/data/caddy"}
{"level":"info","ts":1632549039.4097474,"logger":"tls","msg":"finished cleaning storage units"}
Successfully started Caddy (pid=30284) - Caddy is running in the background
{"level":"info","ts":1632549671.229789,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/stop","remote_addr":"127.0.0.1:19760","headers":{"Accept-Encoding":["gzip"],"Content-Length":["0"],"Origin":["localhost:2019"],"User-Agent":["Go-http-client/1.1"]}}
{"level":"warn","ts":1632549671.2298543,"logger":"admin.api","msg":"exiting; byeee!! "}
{"level":"info","ts":1632549671.2311752,"logger":"tls.cache.maintenance","msg":"stopped background certificate maintenance","cache":"0xc000508230"}
{"level":"info","ts":1632549671.2325566,"logger":"admin","msg":"stopped previous server","address":"tcp/localhost:2019"}
{"level":"info","ts":1632549671.2326279,"logger":"admin.api","msg":"shutdown complete","exit_code":0}
{"level":"info","ts":1632549918.4919648,"msg":"using provided configuration","config_file":"/usr/local/www/Caddyfile","config_adapter":"caddyfile"}
{"level":"warn","ts":1632549918.5052853,"logger":"caddy.logging.encoders.single_field","msg":"the 'single_field' encoder is deprecated and will be removed soon!"}
{"level":"info","ts":1632549918.5129905,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
{"level":"info","ts":1632549918.5132294,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
{"level":"info","ts":1632549918.513316,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00024a930"}
{"level":"info","ts":1632549918.5149682,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/var/db/caddy/data/caddy"}
{"level":"info","ts":1632549918.515049,"logger":"tls","msg":"finished cleaning storage units"}
{"level":"info","ts":1632549918.5326812,"msg":"autosaved config (load with --resume flag)","file":"/var/db/caddy/config/caddy/autosave.json"}
{"level":"info","ts":1632549918.5327,"msg":"serving initial configuration"}
Successfully started Caddy (pid=2287) - Caddy is running in the background


EDIT: I think perhaps my initial searches had lead me down the wrong path.

I assumed this was a caddy issue (since it told me to check webserver log), but disregarding that, I found a few similar issues. They mostly seem to relate to either (1) nextcloud config.php (e.g. here), (2) incompatible app (e.g. here, where it's specifically onlyoffce; any idea how to remove everything onlyoffice from CLI?), or (3) something with permissions (but I haven't touched permissions inside the jail). But because of this, I thought it might be useful to share nextcloud logs from /usr/local/www/nextcloud/data/nextcloud.log

Code:
{"reqId":"M8eDuChHRoYmIqqK5RPY","level":3,"time":"2021-06-15T20:40:40+00:00","remoteAddr":"","user":"admin","app":"no app in context","method":"","url":"--","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve trashManager! Class trashManager does not exist","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"file":"/usr/local/www/nextcloud/lib/private/ServerContainer.php","line":162,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager",true]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":434,"function":"query","class":"OC\\ServerContainer","type":"->","args":["trashManager",true]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["trashManager"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":58,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":68,"function":"array_map","args":[{"__class__":"Closure"},[{"name":"serverContainer","__class__":"ReflectionParameter"},{"name":"logger","__class__":"ReflectionParameter"},{"name":"appManager","__class__":"ReflectionParameter"},"*** sensitive parameter replaced ***"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":52,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/usr/local/www/nextcloud/apps/files_trashbin/lib/AppInfo/Application.php","line":57,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":176,"function":"boot","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":197,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_trashbin"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":137,"function":"loadApp","class":"OC_App","type":"::","args":["files_trashbin"]},{"file":"/usr/local/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":124,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":176,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":197,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":137,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Util.php","line":203,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":554,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":415,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":624,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":367,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/Setup.php","line":440,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/core/Command/Maintenance/Install.php","line":108,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/lib/private/Console/Application.php","line":215,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/occ","line":11,"args":["/usr/local/www/nextcloud/console.php"],"function":"require_once"}],"File":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":115,"CustomMessage":"Could not boot files_trashbinCould not resolve trashManager! Class trashManager does not exist"},"userAgent":"--","version":"21.0.2.1"}
{"reqId":"M8eDuChHRoYmIqqK5RPY","level":3,"time":"2021-06-15T20:40:40+00:00","remoteAddr":"","user":"admin","app":"no app in context","method":"","url":"--","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":459,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":431,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/usr/local/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":121,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/usr/local/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":108,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"@attributes":{"for":"OCP\\Files\\Storage\\IStorage"},"@value":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":68,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\App\\AppManager"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":52,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/usr/local/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":93,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":176,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":197,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_versions"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":137,"function":"loadApp","class":"OC_App","type":"::","args":["files_versions"]},{"file":"/usr/local/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":124,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":176,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":197,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_App.php","line":137,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Util.php","line":203,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":554,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":415,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":624,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/User/Session.php","line":367,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/Setup.php","line":440,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/core/Command/Maintenance/Install.php","line":108,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/lib/private/Console/Application.php","line":215,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/usr/local/www/nextcloud/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/occ","line":11,"args":["/usr/local/www/nextcloud/console.php"],"function":"require_once"}],"File":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":111,"CustomMessage":"Could not boot files_versionsCould not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"},"userAgent":"--","version":"21.0.2.1"}


as well as my config.php (since this was what I edited when this all started; perhaps I missed something that I messed up?)

Code:
<?php $CONFIG = array (
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'MY.FQDN.REDACTED',
    2 => '10.0.30.67',
  ),
  'trusted_proxies' =>
  array (
    0 => '10.0.30.21',
  ),
  'datadirectory' => '/mnt/files',
  'dbtype' => 'mysql',
  'version' => '21.0.4.1',
  'overwrite.cli.url' => 'https://MY.FQDN.REDACTED',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'REDACTED=',
  'installed' => true,
  'instanceid' => 'ock04j6563iu',
  'logtimezone' => 'REDACTED',
  'default_phone_region' => 'REDACTED',
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud.log',
  'loglevel' => 0,
  'logrotate_size' => '104847600',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'overwritehost' => 'MY.FQDN.REDACTED',
  'overwriteprotocol' => 'https',
  'htaccess.RewriteBase' => '/',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'REDACTED',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpport' => '587',
  'mail_from_address' => 'home',
  'mail_domain' => 'REDACTED',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'REDACTED',
  'mail_smtppassword' => 'REDACTED',
  'maintenance' => false,
  'theme' => '',
 ),
 
Last edited:

InGenetic

Contributor
Joined
Dec 18, 2013
Messages
183
Hi Mr.Danb35 and all ..

This morning , i have some complained from some of my users , they can not access my nextcloud , it's seem the error relation to ssl letsencrypt,
especially which user with windows 7 using chrome browser , if they using firefox, no problem with ssl.

the error like below :



i try to googling and i found this thing:


is there any solution to fix this error on windows 7 with chrome browser ?

Thanks & regards,
 
Last edited:
Joined
Jan 4, 2014
Messages
1,644
is there any solution to fix this error on windows 7 with chrome browser ?
Have you tried any of the suggested solutions in the article e.g. reboot your NC service?
 

InGenetic

Contributor
Joined
Dec 18, 2013
Messages
183
Are you serving the correct, unexpired chain? Use https://www.digicert.com/help/ to check.

Hi mr. danb35 & mr.Basil,

here's the result :



Fyi , i'm using mr,danb35 script for our nextcloud, before date 29 sept 2021, everything's fine ,,
but after 29 sept 2021 until now, especially if user accessing using windows 7 (chrome browser) it's error with SSL , but if user using windows 7 ( firefox browser ) they fine .

any solution for this problem ?
please advice .


Thanks n regards,
 
Last edited:
Top