mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-31 19:00:54 +00:00 
			
		
		
		
	Upgraded Nextcloud to 16.0.5
This commit is contained in:
		
							parent
							
								
									01c95fd93a
								
							
						
					
					
						commit
						a7b2f72a2d
					
				| @ -1,6 +1,13 @@ | ||||
| CHANGELOG | ||||
| ========= | ||||
| 
 | ||||
| Under Development | ||||
| ----------------- | ||||
| 
 | ||||
| Software updates: | ||||
| 
 | ||||
| * Upgraded Nextcloud from 15.0.8 to 16.0.5 (with Contacts from 3.1.1 to 3.1.4 and Calendar from 1.6.5 to 1.7.1) | ||||
| 
 | ||||
| v0.43 (September 1, 2019) | ||||
| ------------------------- | ||||
| 
 | ||||
| @ -23,7 +30,6 @@ Control panel: | ||||
| * When using secondary DNS, it is now possible to specify a subnet range with the `xfr:` option. | ||||
| * Fixed an issue when the secondary DNS option is used and the secondary DNS hostname resolves to multiple IP addresses. | ||||
| * Fix a bug in how a backup configuration error is shown. | ||||
| >>>>>>> upstream/master | ||||
| 
 | ||||
| v0.42b (August 3, 2019) | ||||
| ----------------------- | ||||
|  | ||||
| @ -40,18 +40,18 @@ InstallNextcloud() { | ||||
| 	# their github repositories. | ||||
| 	mkdir -p /usr/local/lib/owncloud/apps | ||||
| 
 | ||||
| 	wget_verify https://github.com/nextcloud/contacts/releases/download/v3.1.1/contacts.tar.gz a06bd967197dcb03c94ec1dbd698c037018669e5 /tmp/contacts.tgz | ||||
| 	wget_verify https://github.com/nextcloud/contacts/releases/download/v3.1.4/contacts.tar.gz 297cb38c0ba9ba7ad7b8b61108033af8d7eccd96 /tmp/contacts.tgz | ||||
| 	tar xf /tmp/contacts.tgz -C /usr/local/lib/owncloud/apps/ | ||||
| 	rm /tmp/contacts.tgz | ||||
| 
 | ||||
| 	wget_verify https://github.com/nextcloud/calendar/releases/download/v1.6.5/calendar.tar.gz 79941255521a5172f7e4ce42dc7773838b5ede2f /tmp/calendar.tgz | ||||
| 	wget_verify https://github.com/nextcloud/calendar/releases/download/v1.7.1/calendar.tar.gz bd7c846bad06da6d6ba04280f6fbf37ef846c2ad /tmp/calendar.tgz | ||||
| 	tar xf /tmp/calendar.tgz -C /usr/local/lib/owncloud/apps/ | ||||
| 	rm /tmp/calendar.tgz | ||||
| 
 | ||||
| 	# Starting with Nextcloud 15, the app user_external is no longer included in Nextcloud core, | ||||
| 	# we will install from their github repository. | ||||
| 	if [[ $version =~ ^15 ]]; then | ||||
| 		wget_verify https://github.com/nextcloud/user_external/releases/download/v0.6.3/user_external-0.6.3.tar.gz 0f756d35fef6b64a177d6a16020486b76ea5799c /tmp/user_external.tgz | ||||
| 		wget_verify https://github.com/nextcloud/user_external/releases/download/v0.7.0/user_external-0.7.0.tar.gz 555a94811daaf5bdd336c5e48a78aa8567b86437 /tmp/user_external.tgz | ||||
| 		tar -xf /tmp/user_external.tgz -C /usr/local/lib/owncloud/apps/ | ||||
| 		rm /tmp/user_external.tgz | ||||
| 	fi | ||||
| @ -91,8 +91,8 @@ InstallNextcloud() { | ||||
| } | ||||
| 
 | ||||
| # Nextcloud Version to install. Checks are done down below to step through intermediate versions. | ||||
| nextcloud_ver=15.0.8 | ||||
| nextcloud_hash=4129d8d4021c435f2e86876225fb7f15adf764a3 | ||||
| nextcloud_ver=16.0.5 | ||||
| nextcloud_hash=46e8ec989de9aad9967a5a54ddb84ce8b8e2c54c | ||||
| 
 | ||||
| # Current Nextcloud Version, #1623 | ||||
| # Checking /usr/local/lib/owncloud/version.php shows version of the Nextcloud application, not the DB | ||||
| @ -142,10 +142,12 @@ if [ ! -d /usr/local/lib/owncloud/ ] || [[ ! ${CURRENT_NEXTCLOUD_VER} =~ ^$nextc | ||||
| 		elif [[ ${CURRENT_NEXTCLOUD_VER} =~ ^13 ]]; then | ||||
| 			# If we are running Nextcloud 13, upgrade to Nextcloud 14 | ||||
| 			InstallNextcloud 14.0.6 4e43a57340f04c2da306c8eea98e30040399ae5a | ||||
| 		elif [[ ${CURRENT_NEXTCLOUD_VER} =~ ^14 ]]; then | ||||
| 		fi | ||||
| 		if [[ ${CURRENT_NEXTCLOUD_VER} =~ ^14 ]]; then | ||||
| 			# During the upgrade from Nextcloud 14 to 15, user_external may cause the upgrade to fail. | ||||
| 			# We will disable it here before the upgrade and install it again after the upgrade. | ||||
| 			hide_output sudo -u www-data php /usr/local/lib/owncloud/console.php app:disable user_external | ||||
| 			InstallNextCloud 15.0.8 4129d8d4021c435f2e86876225fb7f15adf764a3 | ||||
| 		fi | ||||
| 	fi | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user