Migrate InformAzionI's stuff from proprietary services to nextCloud
Closed, ResolvedPublic


Migrate InformAzionI's stuff from proprietary services to nextCloud. Civvì would be very happy about this.

Event Timeline

valerio.bozzolan triaged this task as Wishlist priority.Jul 3 2020, 12:01
valerio.bozzolan created this task.
civvi awarded a token.Sep 28 2020, 08:52
civvi added a subscriber: civvi.
Yiyi awarded a token.Sep 28 2020, 09:18
valerio.bozzolan closed this task as Resolved.EditedSep 29 2020, 21:34

After T408: Upgrade reyboz ownCloud to nextCloud

Updated the configuration files:

# used by reyboz and informazioni

php_admin_flag  html_errors    0
php_admin_flag  display_errors 0
php_admin_value upload_max_filesize 5G
php_admin_value post_max_size       5G
php_admin_value open_basedir   /usr/share/javascript:/dev/urandom:/var/log:/usr/share/php:/usr/share/pear:/home/www-data/
php_admin_value upload_tmp_dir /home/www-data/
php_admin_value apc.writable   /home/www-data/

# suggested by
# since nextCloud 12 -- mar 29 set 2020, 14:13:54, CEST
php_admin_value opcache.enable 1
php_admin_value opcache.enable_cli 1
php_admin_value opcache.interned_strings_buffer 8
php_admin_value opcache.max_accelerated_files 10000
php_admin_value opcache.memory_consumption 128
php_admin_value opcache.save_comments 1
php_admin_value opcache.revalidate_freq 1

DocumentRoot /home/www-data/
Include      /home/www-data/

<Directory /home/www-data/>
	Options +FollowSymLinks
	AllowOverride None
	<IfVersion < 2.3>
		order allow,deny
		allow from all
	<IfVersion >= 2.3>
		Require all granted
<virtualhost *:443>

	Include /etc/apache2/my-includes/reyboz.nextcloud.conf
	Include /etc/apache2/my-includes/ssl.strict.conf

	SSLEngine On
	SSLCertificateFile      /etc/letsencrypt/live/
	SSLCertificateKeyFile   /etc/letsencrypt/live/
	SSLCertificateChainFile /etc/letsencrypt/live/

<virtualhost *:80>

	Redirect 301 /
$ a2ensite informazioni.nextcloud.conf

Installed Let's Encrypt certificate for the domain

$ certbot certonly --webroot --webroot-path=/home/www-data/ -d