Index | Thread | Search

From:
Clemens Gößnitzer <clemens@goessnitzer.info>
Subject:
Re: UPDATE: Nextcloud-28.0.3
To:
"Gonzalo L. Rodriguez" <gonzalo@x61.ar>, ports@openbsd.org
Date:
Thu, 07 Mar 2024 17:11:53 +0100

Download raw body.

Thread
On Tue, 2024-03-05 at 09:30 +0100, Gonzalo L. Rodriguez wrote:
> Hello,
> 
> Update for Nextcloud to 28.0.3:
> 
> https://nextcloud.com/changelog/
> 
> Plus some tweaks from Clemens Gößnitzer for the README and httpd(8)
> conf.

I did not test updating, which does not work in the browser anymore
when using the new examples.  The following addition fixes that for me.
Sorry for not noticing this.


Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/nextcloud/pkg/README,v
retrieving revision 1.24
diff -u -p -u -r1.24 README
--- pkg/README	5 Mar 2024 09:57:03 -0000	1.24
+++ pkg/README	7 Mar 2024 16:09:53 -0000
@@ -83,6 +83,14 @@ server "domain.tld" {
 		pass
 	}
 
+	# required for the updater in the browser
+	location "/nextcloud/core/ajax/update.php*" {
+		root "/nextcloud"
+		request strip 1
+		fastcgi socket "/run/php-fpm.sock"
+		pass
+	}
+
 	location "/nextcloud/ocs/*.php*" {
 		root "/nextcloud"
 		request strip 1


> 
> OK?
> 
> Cheers.-
> 
>