So I made some progress with the SQL-topic, also noticed some changes in the apache config as per below. However, nextcloud is just presenting a screen:
php information showing me the following error:
=> GD library is not there, also it is installed:
I went through google and seems its a common problem, however, anyone might have solved it in here?
https://forums.freenas.org/index.php?threads/new-jail-that-requires-zlib_1-2-9.59734/
SQL-Server:
I installed MySQL56
works....
also re apache config; virtual hosts needs to be enabled:
change / uncomment:
than edit httpd-vhosts.conf:
and add (NOTE: Change YOURSITEHERE.com), add # to all the rest of the lines
Hope that helps?
Code:
PHP module GD not installed. Please ask your server administrator to install the module.
php information showing me the following error:
Code:
root@NextCloud:~ #php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20160303/gd.so' - /lib/libz.so.6: version ZLIB_1.2.9 required by /usr/local/lib/libpng16.so.16 not found in Unknown on line 0 [PHP Modules] bz2 Core ctype curl date dom exif fileinfo filter hash iconv intl json libxml mbstring mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql posix Reflection session SimpleXML SPL standard wddx xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache
=> GD library is not there, also it is installed:
Code:
root@NextCloud:~ # pkg install php71-gd Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: php71-gd: 7.1.12_2 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [NextCloud] [1/1] Installing php71-gd-7.1.12_2... [NextCloud] [1/1] Extracting php71-gd-7.1.12_2: 100%
I went through google and seems its a common problem, however, anyone might have solved it in here?
https://forums.freenas.org/index.php?threads/new-jail-that-requires-zlib_1-2-9.59734/
SQL-Server:
I installed MySQL56
Code:
pkg install -y mysql56-server sysrc mysql_enable=YES service mysql-server start mysql_secure_installation
works....
also re apache config; virtual hosts needs to be enabled:
Code:
cd /usr/local/etc/apache24 nano httpd.conf
change / uncomment:
Code:
# Virtual hosts Include etc/apache24/extra/httpd-vhosts.conf
than edit httpd-vhosts.conf:
Code:
cd /usr/local/etc/apache24/extra nano httpd-vhosts.conf
and add (NOTE: Change YOURSITEHERE.com), add # to all the rest of the lines
Code:
<VirtualHost *:80> DocumentRoot "/usr/local/www/apache24/data/nextcloud" ServerName YOURSITEHERE.com RewriteEngine on RewriteCond %{SERVER_NAME} =YOURSITEHERE.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent] #ErrorLog ${APACHE_LOG_DIR}/error.log #CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory /usr/local/www/apache24/data/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /usr/local/www/apache24/data/nextcloud SetEnv HTTP_HOME /usr/local/www/apache24/data/nextcloud Satisfy Any </Directory> </VirtualHost>
Hope that helps?
Last edited by a moderator: