Unable to update to ncp v1.49.0: parse error

Hi;

I am trying to update to v1.49.0 (as suggested by ncp-config) but the update process fails with

parse error: Invalid numeric literal at line 1, column 29

Additionally, and most likely unrelated, I also cannot even reboot as trying to reboot (“sudo shutdown -r now”) or shutdown gives me:

Failed to open initctl fifo: No such device or address
Failed to talk to init daemon.


This is the output of ncp-report:


<details>
<summary>NextCloudPi diagnostics</summary>



parse error: Invalid numeric literal at EOF at line 1, column 842
Nextcloud is not installed - only a limited number of commands are available
NextCloudPi version  v1.48.3
NextCloudPi image    NextCloudPi_11-04-18
OS                   Raspbian GNU/Linux 10. 5.10.103-v7+ (armv7l)
automount            no
USB devices          none
datadir               (doesn't exist)
rootfs usage         22G/30G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    23.0.6.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
public IP            ***REMOVED SENSITIVE VALUE***
public IP            ***REMOVED SENSITIVE VALUE***
Port check 80        open (ipv4)
Port check 443       open (ipv4)
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              192.168.1.254
Interface            wlan0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         yes
Uptime               13days


</details>


<details>
<summary>Nextcloud configuration</summary>



. It is
perfectly reasonable for third party distributions to add new hub subclasses in
this namespace.

=head2 Test2::IPC::

The IPC subsystem lives in this namespace. There are not many good reasons to
add anything to this namespace, with exception of IPC drivers.

=head3 Test2::IPC::Driver::

IPC drivers live in this namespace. It is fine to create new IPC drivers and to
put them in this namespace.

=head2 Test2::Util::

This namespace is for general utilities used by testing tools. Please be
considerate when adding new modules to this namespace.

=head2 Test2::API::

This is for Test2 API and related packages.

=head2 Test2::

The Test2:: namespace is intended for extensions and frameworks. Tools,
Plugins, etc should not go directly into this namespace. However extensions
that are used to build tools and plugins may go here.

In short: If the module exports anything that should be run directly by a test
script it should probably NOT go directly into C<Test2::XXX>.

=head1 SEE ALSO

L<Test2::API> - Primary API functions.

L<Test2::API::Context> - Detailed documentation of the context object.

L<Test2::IPC> - The IPC system used for threading/fork support.

L<Test2::Formatter> - Formatters such as TAP live here.

L<Test2::Event> - Events live in this namespace.

L<Test2::Hub> - All events eventually funnel through a hub. Custom hubs are how
C<intercept()> and C<run_subtest()> are implemented.

=head1 CONTACTING US

Many Test2 developers and users lurk on L<irc://irc.perl.org/#perl-qa> and
L<irc://irc.perl.org/#toolchain>. We also have a slack team that can be joined
by anyone with an C<@cpan.org> email address L<https://perl-test2.slack.com/>
If you do not have an C<@cpan.org> email you can ask for a slack invite by
emailing Chad Granum E<lt>exodist@cpan.orgE<gt>.

=head1 SOURCE

The source code repository for Test2 can be found at
F<http://github.comNextcloud is not installed - only a limited number of commands are available

                                                            
  There are no commands defined in the "config" namespace.  
                                                            



</details>


<details>
<summary>HTTPd logs</summary>



[Sun Aug 28 23:34:40.173588 2022] [authz_host:error] [pid 21771:tid 1459545088] [client 84.38.184.136:35686] AH01753: access check of 'localhost' to /remote/fgt_lang failed, reason: unable to get the remote host name
[Sun Aug 28 23:34:40.173779 2022] [authz_core:error] [pid 21771:tid 1459545088] [client 84.38.184.136:35686] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Mon Aug 29 00:32:40.905977 2022] [authz_core:error] [pid 21772:tid 1516196864] [client 167.248.133.60:51344] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Aug 29 00:32:41.386411 2022] [authz_core:error] [pid 21772:tid 1449055232] [client 167.248.133.60:42146] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Aug 29 01:29:56.642652 2022] [authz_host:error] [pid 21771:tid 1509901312] [client 154.89.5.222:48452] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Mon Aug 29 01:29:57.353680 2022] [authz_core:error] [pid 21771:tid 1509901312] [client 154.89.5.222:48452] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Aug 29 04:33:14.188141 2022] [authz_host:error] [pid 21771:tid 1593828352] [client 192.241.221.77:48492] AH01753: access check of 'localhost' to /ReportServer failed, reason: unable to get the remote host name
[Mon Aug 29 04:33:14.188392 2022] [authz_core:error] [pid 21771:tid 1593828352] [client 192.241.221.77:48492] AH01630: client denied by server configuration: /var/www/ncp-web/ReportServer
[Mon Aug 29 04:38:23.114519 2022] [authz_host:error] [pid 21771:tid 1467937792] [client 192.241.213.149:56490] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Mon Aug 29 04:38:23.114662 2022] [authz_core:error] [pid 21771:tid 1467937792] [client 192.241.213.149:56490] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Aug 29 06:23:55.528316 2022] [authz_host:error] [pid 21772:tid 1524589568] [client 84.38.184.136:35448] AH01753: access check of 'localhost' to /remote/fgt_lang failed, reason: unable to get the remote host name
[Mon Aug 29 06:23:55.528975 2022] [authz_core:error] [pid 21772:tid 1524589568] [client 84.38.184.136:35448] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Mon Aug 29 13:17:20.293099 2022] [authz_host:error] [pid 21772:tid 1465840640] [client 84.38.184.136:38136] AH01753: access check of 'localhost' to /remote/fgt_lang failed, reason: unable to get the remote host name
[Mon Aug 29 13:17:20.293319 2022] [authz_core:error] [pid 21772:tid 1465840640] [client 84.38.184.136:38136] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Mon Aug 29 19:47:59.548352 2022] [authz_host:error] [pid 21771:tid 1568650240] [client 84.38.184.136:60590] AH01753: access check of 'localhost' to /remote/fgt_lang failed, reason: unable to get the remote host name
[Mon Aug 29 19:47:59.548727 2022] [authz_core:error] [pid 21771:tid 1568650240] [client 84.38.184.136:60590] AH01630: client denied by server configuration: /var/www/ncp-web/remote
[Mon Aug 29 21:47:35.509559 2022] [authz_host:error] [pid 21771:tid 1633678336] [client 39.101.185.99:43448] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Mon Aug 29 21:47:35.509749 2022] [authz_core:error] [pid 21771:tid 1633678336] [client 39.101.185.99:43448] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Aug 29 21:47:41.230994 2022] [authz_host:error] [pid 21771:tid 1663038464] [client 39.101.185.99:43888] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Mon Aug 29 21:47:41.231290 2022] [authz_core:error] [pid 21771:tid 1663038464] [client 39.101.185.99:43888] AH01630: client denied by server configuration: /var/www/ncp-web/


</details>


<details>
<summary>Database logs</summary>





</details>


<details>
<summary>Nextcloud logs</summary>



tail: cannot open '/nextcloud.log' for reading: No such file or directory


</details>

Any suggestions would be great! At the moment, I have only access via ssh, so I cannot physically shutdown and restart the system.

Looks like you are using an old 32 bit image and system.
Best upgrade to 64 bit if you can. and do a fresh install and restore data from backup.

sorry for not replying earlier.
I’d like to avoid a fresh install at least for now as I am temporarily out of the country and do not have direct physical access to my raspberrypi and therefore cannot really make a propber backup as that would have to involve some other physical card/drive.
Just hoped that I could get my nextcloudpi working until I get back and can do a manual backup and upgrade to bullseye.

After several restarts, the update to 1.49.0. finally worked. I still have some other (and seemingly related) problems that require me to reboot frequently in order to get everything up and running again but I will open another thread if I cannot fix them.
Thanks