HOW-TO: NextCloud 10 w/ Apache, PHP, and MariaDB

Status
Not open for further replies.

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Still not sure why it wouldn't connect over http
Because your configuration told it to redirect any http connections to https, but the server can't do https without some (even self-signed) certificate).
 

pakka

Dabbler
Joined
Jan 25, 2018
Messages
48
I tried to follow the instructions on FreeNas11.1 to install nextcloud but get stopped at the point of installing mysql-server. got error code 2002:
Code:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I got no error due starting mysql service but when I check mysql-status it says service not running.
any idea!? thanks guys!
 

papaja

Dabbler
Joined
Apr 2, 2017
Messages
30
I tried to follow the instructions on FreeNas11.1 to install nextcloud but get stopped at the point of installing mysql-server. got error code 2002:
Code:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I got no error due starting mysql service but when I check mysql-status it says service not running.
any idea!? thanks guys!
It simply does not work today.
I have tried mariadb and mysql from packages and ports.

You might have more luck with iocage instead of jail. I stopped when I was not able to start iocage due to mounting errors.
 

555NASE

Patron
Joined
Mar 3, 2017
Messages
202
Work Nextcloud 13.0.1 (install in a Jail) now with php7.1 oder higher ?

Who can I update this ?

Like only this

PHP 7.0
Install PHP and associated modules

Code:
pkg install redis php70 php70-bz2 php70-ctype php70-curl php70-dom php70-exif php70-fileinfo php70-filter php70-gd php70-hash php70-iconv php70-intl php70-json php70-mbstring php70-mcrypt php70-pdo_mysql php70-openssl php70-posix php70-session php70-simplexml php70-xml php70-xmlreader php70-xmlwriter php70-xsl php70-wddx php70-zip php70-zlib php70-opcache mod_php70


or

php 7.1
Install PHP and associated modules

Code:
pkg install redis php71-ctype php71-dom php71-gd php71-iconv php71-json php71-mbstring php71-posix php71-simplexml  php71-xmlreader php71-xmlwriter php71-zip php71-zlib php71-pdo_mysql php71-hash php71-xml php71-session php71-mysqli php71-wddx php71-xsl php71-filter php71-curl php71-fileinfo php71-bz2 php71-intl php71-mcrypt php71-openssl php71-ldap php71-ftp php71-imap php71-exif php71-gmp php71-memcache php71-opcache php71-pcntl php71 mod_php71
 

marian78

Patron
Joined
Jun 30, 2011
Messages
210
I get warnings after restart apache24 and i dont know, how to analyze, what is cause it. Can you forward me to find some solution or diagnosing?

warnings:
Code:

Performing sanity check on apache24 configuration:

WARNING: number of probes fixed does not match the number of defined probes (12 != 13, respectively)
WARNING: some probes might not fire or your program might crash

Syntax OK
Stopping apache24.
Waiting for PIDS: 51979.
Performing sanity check on apache24 configuration:

WARNING: number of probes fixed does not match the number of defined probes (12 != 13, respectively)
WARNING: some probes might not fire or your program might crash

Syntax OK
Starting apache24.

WARNING: number of probes fixed does not match the number of defined probes (12 != 13, respectively)
WARNING: some probes might not fire or your program might crash



Installed SW:
Nextcloud 13.0.3, FN9.10, Apache24, PHP v7.2.6. Aslo installed ModSecurity, ClamAV, fail2ban, SSMTP. For now no SSL instalation (only 80).

Thx, Marian.
 
Last edited:

pakka

Dabbler
Joined
Jan 25, 2018
Messages
48
I get no access to the Settings/overview (german: Einstellungen->Verwaltung->Übersicht) to start an update from here.
How can I start the update process manual from console?
I guess its the script in /usr/local/www/apache24/data/nextcloud/updater/updater.phar but how to start?

sudo -u www php updater.phar does´t work... Or is there a bug (14.0.3.0 )?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
How can I start the update process manual from console?

Code:
cd /usr/local/www/owncloud/updater/ && sudo -u www php updater.phar


Or if your installed directory is named nextcoud

Code:
cd /usr/local/www/owncloud/updater/ && sudo -u www php updater.phar
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I tried this command but nothing happens. No Error, just nothing.

Of course not, it won't unless you are in the directory where updater.phar is located. See my previous response.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Do you have sudo installed? pkg install sudo
 

pakka

Dabbler
Joined
Jan 25, 2018
Messages
48
yes, but still nothing happens. but now I can reach the backup tool on web-GUI so I can update to the newest version.
But still no idea why manual update doesn´t work or doesn´t show a progress. the file is there and like I said I get no error message when calling
sudo -u www php updater.phar
 
Status
Not open for further replies.
Top