On 2019/10/24 15:52, Gonzalo L. Rodriguez wrote:
> On Sat, 12 Oct 2019 at 11:31:20 +0200, Gonzalo L. Rodriguez wrote:
> > 
> > 
> > > On 10. Oct 2019, at 20:50, Stuart Henderson <s...@spacehopper.org> wrote:
> > > 
> > > On 2019/10/10 18:31, Giovanni Bechis wrote:
> > >> While updating nextcloud on i386 I have this warning:
> > >> 
> > >> nextcloud-16.0.5:php+php-bz2+php-curl+php-gd+php-intl+php-pdo_sqlite+php-zip-7.3.9->7.3.10:
> > >>  ok
> > >> nextcloud-16.0.5:pecl73-imagick-3.4.4->3.4.4: ok
> > >> nextcloud-16.0.5:pecl73-redis-5.0.2->5.0.2: ok
> > >> File /var/www/nextcloud/config/CAN_INSTALL does not exist
> > >> nextcloud-16.0.4->16.0.5: ok
> > > 
> > > I think the fix will be to stop packaging the file, and tell people to
> > > use touch to create the file before going through the installer process.
> > 
> > We can do this, yes. I will update my last diff for 17.0.0 with this change 
> > next week.
> > 
> > > 
> > >> Is it worth fixing it for release ?
> > > 
> > > No..
> > > 
> > 
> 
> Sorry the delay, something like this?

> --- pkg/README        21 Aug 2019 13:26:01 -0000      1.15
> +++ pkg/README        24 Oct 2019 13:45:25 -0000
> @@ -10,6 +10,11 @@ Nextcloud is installed under
>  Official documentation is available at:
>      https://docs.nextcloud.com/server/${MAJOR}/admin_manual/
>  
> +Remember that you need to create/touch the file "CAN_INSTALL" under your
> +config directory:
> +
> +    # touch ${INSTDIR}/config/CAN_INSTALL
> +
>  Post-installation instructions
>  ==============================

Should this instruction actually be in "Finishing and validating the 
installation"?
I haven't tried it but that seems like it would be the right place, i.e. :

--snip-- -- -- -- --
Finishing and validating the installation
-----------------------------------------
Make sure the web server can resolve its own hostname (e.g. if chrooted,
create ${PREFIX}/etc/hosts and/or ${PREFIX}/etc/resolv.conf).

Create the file "CAN_INSTALL" to allow web-based installation:

    # touch ${INSTDIR}/config/CAN_INSTALL

Access https://<hostname>/nextcloud with a Web browser to finish the
installation and create a new admin user.
--snip-- -- -- -- --

Reply via email to