apt-get install -y --no-install-recommends apt-utils cron curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-utils is already the newest version (2.2.4).
cron is already the newest version (3.0pl1-137).
curl is already the newest version (7.74.0-1.3+deb11u7).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
apt-get install -y --no-install-recommends systemd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
systemd is already the newest version (247.3-7+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Creating config file /etc/php/8.1/mods-available/calendar.ini with new version
Creating config file /etc/php/8.1/mods-available/ctype.ini with new version
Creating config file /etc/php/8.1/mods-available/exif.ini with new version
Creating config file /etc/php/8.1/mods-available/fileinfo.ini with new version
Creating config file /etc/php/8.1/mods-available/ffi.ini with new version
Creating config file /etc/php/8.1/mods-available/ftp.ini with new version
Creating config file /etc/php/8.1/mods-available/gettext.ini with new version
Creating config file /etc/php/8.1/mods-available/iconv.ini with new version
Creating config file /etc/php/8.1/mods-available/pdo.ini with new version
Creating config file /etc/php/8.1/mods-available/phar.ini with new version
Creating config file /etc/php/8.1/mods-available/posix.ini with new version
Creating config file /etc/php/8.1/mods-available/shmop.ini with new version
Creating config file /etc/php/8.1/mods-available/sockets.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvsem.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvshm.ini with new version
Creating config file /etc/php/8.1/mods-available/tokenizer.ini with new version
Setting up libzip4:arm64 (1.7.3-1) ...
Setting up libheif1:arm64 (1.11.0-1) ...
Setting up libabsl20200923:arm64 (0~20200923.3-2) ...
Setting up php8.1-curl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/curl.ini with new version
Setting up php8.1-xml (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/dom.ini with new version
Creating config file /etc/php/8.1/mods-available/simplexml.ini with new version
Creating config file /etc/php/8.1/mods-available/xml.ini with new version
Creating config file /etc/php/8.1/mods-available/xmlreader.ini with new version
Creating config file /etc/php/8.1/mods-available/xmlwriter.ini with new version
Creating config file /etc/php/8.1/mods-available/xsl.ini with new version
Setting up libgav1-0:arm64 (0.16.0-5) ...
Setting up php8.1-zip (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/zip.ini with new version
Setting up php8.1-readline (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/readline.ini with new version
Setting up php8.1-opcache (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/opcache.ini with new version
Setting up php8.1-intl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/intl.ini with new version
Setting up php8.1-ldap (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/ldap.ini with new version
Setting up libavif9:arm64 (0.8.4-2+deb11u1) ...
Setting up php8.1-bz2 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/bz2.ini with new version
Setting up php8.1-mbstring (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/mbstring.ini with new version
Setting up php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
update-alternatives: using /usr/bin/php8.1 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar8.1 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar8.1 to provide /usr/bin/phar.phar (phar.phar) in auto mode
Creating config file /etc/php/8.1/cli/php.ini with new version
Setting up libgd3:arm64 (2.3.3-9+0~20230207.13+debian11~1.gbp649015) ...
Setting up php8.1-gd (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/gd.ini with new version
Setting up php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/fpm/php.ini with new version
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php8.1-fpm.service β /lib/systemd/system/php8.1-fpm.service.
Setting up php8.1 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
mkdir -p /run/php
local DBPASSWD=default
echo -e '[client]\npassword=default'
chmod 600 /root/.my.cnf
debconf-set-selections
debconf-set-selections
apt-get install -y --no-install-recommends mariadb-server php8.1-mysql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
galera-4 gawk libconfig-inifiles-perl libdbi-perl libmariadb3 libsigsegv2
mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common mariadb-server-10.5
mariadb-server-core-10.5 mysql-common socat
Suggested packages:
gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx
mariadb-test netcat-openbsd
Recommended packages:
libdbd-mariadb-perl | libdbd-mysql-perl libterm-readkey-perl libhtml-template-perl
The following NEW packages will be installed:
galera-4 gawk libconfig-inifiles-perl libdbi-perl libmariadb3 libsigsegv2
mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common mariadb-server
mariadb-server-10.5 mariadb-server-core-10.5 mysql-common php8.1-mysql socat
0 upgraded, 15 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.6 MB of archives.
After this operation, 155 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 libsigsegv2 arm64 2.13-1 [34.7 kB]
Get:2 https://packages.sury.org/php bullseye/main arm64 php8.1-mysql arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [108 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 gawk arm64 1:5.1.0-1 [570 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 mysql-common all 5.8+1.0.7 [7,464 B]
Get:5 http://deb.debian.org/debian bullseye/main arm64 mariadb-common all 1:10.5.19-0+deb11u2 [37.0 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 galera-4 arm64 26.4.11-0+deb11u1 [692 kB]
Get:7 http://deb.debian.org/debian bullseye/main arm64 libdbi-perl arm64 1.643-3+b1 [774 kB]
Get:8 http://deb.debian.org/debian bullseye/main arm64 libconfig-inifiles-perl all 3.000003-1 [52.1 kB]
Get:9 http://deb.debian.org/debian bullseye/main arm64 libmariadb3 arm64 1:10.5.19-0+deb11u2 [167 kB]
Get:10 http://deb.debian.org/debian bullseye/main arm64 mariadb-client-core-10.5 arm64 1:10.5.19-0+deb11u2 [762 kB]
Get:11 http://deb.debian.org/debian bullseye/main arm64 mariadb-client-10.5 arm64 1:10.5.19-0+deb11u2 [1,493 kB]
Get:12 http://deb.debian.org/debian bullseye/main arm64 mariadb-server-core-10.5 arm64 1:10.5.19-0+deb11u2 [6,388 kB]
Get:13 http://deb.debian.org/debian bullseye/main arm64 socat arm64 1.7.4.1-3 [360 kB]
Get:14 http://deb.debian.org/debian bullseye/main arm64 mariadb-server-10.5 arm64 1:10.5.19-0+deb11u2 [4,114 kB]
Get:15 http://deb.debian.org/debian bullseye/main arm64 mariadb-server all 1:10.5.19-0+deb11u2 [35.5 kB]
Fetched 15.6 MB in 50s (313 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libsigsegv2:arm64.
(Reading database ... 98249 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.13-1_arm64.deb ...
Unpacking libsigsegv2:arm64 (2.13-1) ...
Setting up libsigsegv2:arm64 (2.13-1) ...
Selecting previously unselected package gawk.
(Reading database ... 98258 files and directories currently installed.)
Preparing to unpack .../00-gawk_1%3a5.1.0-1_arm64.deb ...
Unpacking gawk (1:5.1.0-1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../01-mysql-common_5.8+1.0.7_all.deb ...
Unpacking mysql-common (5.8+1.0.7) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../02-mariadb-common_1%3a10.5.19-0+deb11u2_all.deb ...
Unpacking mariadb-common (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package galera-4.
Preparing to unpack .../03-galera-4_26.4.11-0+deb11u1_arm64.deb ...
Unpacking galera-4 (26.4.11-0+deb11u1) ...
Selecting previously unselected package libdbi-perl:arm64.
Preparing to unpack .../04-libdbi-perl_1.643-3+b1_arm64.deb ...
Unpacking libdbi-perl:arm64 (1.643-3+b1) ...
Selecting previously unselected package libconfig-inifiles-perl.
Preparing to unpack .../05-libconfig-inifiles-perl_3.000003-1_all.deb ...
Unpacking libconfig-inifiles-perl (3.000003-1) ...
Selecting previously unselected package libmariadb3:arm64.
Preparing to unpack .../06-libmariadb3_1%3a10.5.19-0+deb11u2_arm64.deb ...
Unpacking libmariadb3:arm64 (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package mariadb-client-core-10.5.
Preparing to unpack .../07-mariadb-client-core-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ...
Unpacking mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package mariadb-client-10.5.
Preparing to unpack .../08-mariadb-client-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ...
Unpacking mariadb-client-10.5 (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package mariadb-server-core-10.5.
Preparing to unpack .../09-mariadb-server-core-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ...
Unpacking mariadb-server-core-10.5 (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package socat.
Preparing to unpack .../10-socat_1.7.4.1-3_arm64.deb ...
Unpacking socat (1.7.4.1-3) ...
Setting up mysql-common (5.8+1.0.7) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up mariadb-common (1:10.5.19-0+deb11u2) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mariadb-server-10.5.
(Reading database ... 98870 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ...
Unpacking mariadb-server-10.5 (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_1%3a10.5.19-0+deb11u2_all.deb ...
Unpacking mariadb-server (1:10.5.19-0+deb11u2) ...
Selecting previously unselected package php8.1-mysql.
Preparing to unpack .../php8.1-mysql_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ...
Unpacking php8.1-mysql (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Setting up libconfig-inifiles-perl (3.000003-1) ...
Setting up mariadb-server-core-10.5 (1:10.5.19-0+deb11u2) ...
Setting up galera-4 (26.4.11-0+deb11u1) ...
Setting up gawk (1:5.1.0-1) ...
Setting up php8.1-mysql (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version
Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version
Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version
Setting up socat (1.7.4.1-3) ...
Setting up libmariadb3:arm64 (1:10.5.19-0+deb11u2) ...
Setting up libdbi-perl:arm64 (1.643-3+b1) ...
Setting up mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ...
Setting up mariadb-client-10.5 (1:10.5.19-0+deb11u2) ...
Setting up mariadb-server-10.5 (1:10.5.19-0+deb11u2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service β /lib/systemd/system/mariadb.service.
Setting up mariadb-server (1:10.5.19-0+deb11u2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
cp -a /etc/php/8.1/mods-available/opcache.ini /tmp/tmp.8rOCtS3kZq
[[ --defaults == --\d\e\f\a\u\l\t\s ]]
bash /usr/local/etc/ncp-templates/php/opcache.ini.sh --defaults
INFO: Restoring template to default settings
rm /tmp/tmp.8rOCtS3kZq
a2enmod http2
Enabling module http2.
To activate the new configuration, you need to run:
systemctl restart apache2
a2enconf http2
Enabling conf http2.
To activate the new configuration, you need to run:
systemctl reload apache2
a2enmod proxy_fcgi setenvif
Considering dependency proxy for proxy_fcgi:
Enabling module proxy.
Enabling module proxy_fcgi.
Module setenvif already enabled
To activate the new configuration, you need to run:
systemctl restart apache2
a2enconf php8.1-fpm
Enabling conf php8.1-fpm.
To activate the new configuration, you need to run:
systemctl reload apache2
a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
a2enmod headers
Enabling module headers.
To activate the new configuration, you need to run:
systemctl restart apache2
a2enmod dir
Module dir already enabled
a2enmod mime
Module mime already enabled
a2enmod ssl
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
systemctl restart apache2
echo 'ServerName localhost'
apt-get install -y --no-install-recommends ssl-cert
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ssl-cert is already the newest version (1.1.0+nmu1).
ssl-cert set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
bash /usr/local/etc/ncp-templates/mysql/91-ncp.cnf.sh --defaults
INFO: Restoring template to default settings
rm /tmp/tmp.N5i5qJgtCI
[[ -f /run/mysqld/mysqld.pid ]]
:
[[ -S /run/mysqld/mysqld.sock ]]
break
cd /tmp
mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
OK, successfully used password, moving on...
Setting the root password or using the unix_socket ensures that nobody
can log into the MariaDB root user without the proper authorisation.
You already have your root account protected, so you can safely answer 'n'.
You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] stty: 'standard input': Inappropriate ioctl for device
New password:
Re-enter new password:
stty: 'standard input': Inappropriate ioctl for device
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] ... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] ... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] - Dropping test database...
... Success!
Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
Installing nc-nextcloud
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://packages.sury.org/php bullseye InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
iputils-ping is already the newest version (3:20210202-1).
jq is already the newest version (1.6-2.1).
wget is already the newest version (1.21-1+deb11u1).
The following NEW packages will be installed:
lbzip2
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 69.7 kB of archives.
After this operation, 168 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 lbzip2 arm64 2.5-2.1 [69.7 kB]
Fetched 69.7 kB in 2s (42.7 kB/s)
Selecting previously unselected package lbzip2.
(Reading database ... 99026 files and directories currently installed.)
Preparing to unpack .../lbzip2_2.5-2.1_arm64.deb ...
Unpacking lbzip2 (2.5-2.1) ...
Setting up lbzip2 (2.5-2.1) ...
Processing triggers for man-db (2.9.4-2) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libfuse2 samba-common
Suggested packages:
heimdal-clients
Recommended packages:
samba-common-bin
The following packages will be REMOVED:
exfatprogs
The following NEW packages will be installed:
exfat-fuse exfat-utils libfuse2 samba-common smbclient
0 upgraded, 5 newly installed, 1 to remove and 2 not upgraded.
Need to get 873 kB of archives.
After this operation, 2,870 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 samba-common all 2:4.13.13+dfsg-1~deb11u5 [171 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 smbclient arm64 2:4.13.13+dfsg-1~deb11u5 [504 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 libfuse2 arm64 2.9.9-5 [125 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 exfat-fuse arm64 1.3.0-2 [29.1 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 exfat-utils arm64 1.3.0-2 [44.7 kB]
Fetched 873 kB in 5s (186 kB/s)
Preconfiguring packages ...
(Reading database ... 99036 files and directories currently installed.)
Removing exfatprogs (1.1.0-1) ...
Selecting previously unselected package samba-common.
(Reading database ... 99022 files and directories currently installed.)
Preparing to unpack .../samba-common_2%3a4.13.13+dfsg-1~deb11u5_all.deb ...
Unpacking samba-common (2:4.13.13+dfsg-1~deb11u5) ...
Selecting previously unselected package smbclient.
Preparing to unpack .../smbclient_2%3a4.13.13+dfsg-1~deb11u5_arm64.deb ...
Unpacking smbclient (2:4.13.13+dfsg-1~deb11u5) ...
Selecting previously unselected package libfuse2:arm64.
Preparing to unpack .../libfuse2_2.9.9-5_arm64.deb ...
Unpacking libfuse2:arm64 (2.9.9-5) ...
Selecting previously unselected package exfat-fuse.
Preparing to unpack .../exfat-fuse_1.3.0-2_arm64.deb ...
Unpacking exfat-fuse (1.3.0-2) ...
Selecting previously unselected package exfat-utils.
Preparing to unpack .../exfat-utils_1.3.0-2_arm64.deb ...
Unpacking exfat-utils (1.3.0-2) ...
Setting up samba-common (2:4.13.13+dfsg-1~deb11u5) ...
Creating config file /etc/samba/smb.conf with new version
Setting up libfuse2:arm64 (2.9.9-5) ...
Setting up exfat-utils (1.3.0-2) ...
Setting up smbclient (2:4.13.13+dfsg-1~deb11u5) ...
Setting up exfat-fuse (1.3.0-2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
exfat-utils is already the newest version (1.3.0-2).
exfat-fuse is already the newest version (1.3.0-2).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php8.1-common' instead of 'php8.1-exif'
php8.1-common is already the newest version (8.1.18-1+0~20230414.39+debian11~1.gbpad774c).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
php8.1-bcmath
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 14.2 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-bcmath arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [14.2 kB]
Fetched 14.2 kB in 2s (9,070 B/s)
Selecting previously unselected package php8.1-bcmath.
(Reading database ... 99111 files and directories currently installed.)
Preparing to unpack .../php8.1-bcmath_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ...
Unpacking php8.1-bcmath (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Setting up php8.1-bcmath (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/bcmath.ini with new version
Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
php8.1-gmp
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 19.8 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-gmp arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [19.8 kB]
Fetched 19.8 kB in 2s (10.1 kB/s)
Selecting previously unselected package php8.1-gmp.
(Reading database ... 99120 files and directories currently installed.)
Preparing to unpack .../php8.1-gmp_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ...
Unpacking php8.1-gmp (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Setting up php8.1-gmp (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/gmp.ini with new version
Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite
sasl2-bin | dovecot-common postfix-cdb mail-reader ufw postfix-doc
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,505 kB of archives.
After this operation, 4,148 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 postfix arm64 3.5.18-0+deb11u1 [1,505 kB]
Fetched 1,505 kB in 12s (123 kB/s)
Preconfiguring packages ...
Selecting previously unselected package postfix.
(Reading database ... 99129 files and directories currently installed.)
Preparing to unpack .../postfix_3.5.18-0+deb11u1_arm64.deb ...
Unpacking postfix (3.5.18-0+deb11u1) ...
Setting up postfix (3.5.18-0+deb11u1) ...
Adding group postfix' (GID 125) ... Done. Adding system userpostfix' (UID 117) ...
Adding new user postfix' (UID 117) with grouppostfix' ...
Not creating home directory /var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding grouppostdrop' (GID 126) ...
Done.
setting myhostname: cloudii-01
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: $myhostname, cloudii-01, localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix (main.cf) is now set up with a default configuration. If you need to
make changes, edit /etc/postfix/main.cf (and others) as needed. To view
Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run 'systemctl reload postfix'.
Running newaliases
Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service β /lib/systemd/system/postfix.service.
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for rsyslog (8.2102.0-2+deb11u1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjemalloc2 liblua5.1-0 liblzf1 lua-bitop lua-cjson redis-tools
Suggested packages:
ruby-redis
The following NEW packages will be installed:
libjemalloc2 liblua5.1-0 liblzf1 lua-bitop lua-cjson redis-server redis-tools
0 upgraded, 7 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,102 kB of archives.
After this operation, 5,171 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 libjemalloc2 arm64 5.2.1-3 [192 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 liblua5.1-0 arm64 5.1.5-8.1+b3 [99.5 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 liblzf1 arm64 3.6-3 [9,860 B]
Get:4 http://deb.debian.org/debian bullseye/main arm64 lua-bitop arm64 1.0.2-5 [6,508 B]
Get:5 http://deb.debian.org/debian bullseye/main arm64 lua-cjson arm64 2.1.0+dfsg-2.1 [16.1 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 redis-tools arm64 5:6.0.16-1+deb11u2 [680 kB]
Get:7 http://deb.debian.org/debian bullseye/main arm64 redis-server arm64 5:6.0.16-1+deb11u2 [98.2 kB]
Fetched 1,102 kB in 6s (197 kB/s)
Selecting previously unselected package libjemalloc2:arm64.
(Reading database ... 99322 files and directories currently installed.)
Preparing to unpack .../0-libjemalloc2_5.2.1-3_arm64.deb ...
Unpacking libjemalloc2:arm64 (5.2.1-3) ...
Selecting previously unselected package liblua5.1-0:arm64.
Preparing to unpack .../1-liblua5.1-0_5.1.5-8.1+b3_arm64.deb ...
Unpacking liblua5.1-0:arm64 (5.1.5-8.1+b3) ...
Selecting previously unselected package liblzf1:arm64.
Preparing to unpack .../2-liblzf1_3.6-3_arm64.deb ...
Unpacking liblzf1:arm64 (3.6-3) ...
Selecting previously unselected package lua-bitop:arm64.
Preparing to unpack .../3-lua-bitop_1.0.2-5_arm64.deb ...
Unpacking lua-bitop:arm64 (1.0.2-5) ...
Selecting previously unselected package lua-cjson:arm64.
Preparing to unpack .../4-lua-cjson_2.1.0+dfsg-2.1_arm64.deb ...
Unpacking lua-cjson:arm64 (2.1.0+dfsg-2.1) ...
Selecting previously unselected package redis-tools.
Preparing to unpack .../5-redis-tools_5%3a6.0.16-1+deb11u2_arm64.deb ...
Unpacking redis-tools (5:6.0.16-1+deb11u2) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../6-redis-server_5%3a6.0.16-1+deb11u2_arm64.deb ...
Unpacking redis-server (5:6.0.16-1+deb11u2) ...
Setting up libjemalloc2:arm64 (5.2.1-3) ...
Setting up lua-cjson:arm64 (2.1.0+dfsg-2.1) ...
Setting up liblzf1:arm64 (3.6-3) ...
Setting up lua-bitop:arm64 (1.0.2-5) ...
Setting up liblua5.1-0:arm64 (5.1.5-8.1+b3) ...
Setting up redis-tools (5:6.0.16-1+deb11u2) ...
Setting up redis-server (5:6.0.16-1+deb11u2) ...
Created symlink /etc/systemd/system/redis.service β /lib/systemd/system/redis-server.service.
Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service β /lib/systemd/system/redis-server.service.
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
php8.1-igbinary
The following NEW packages will be installed:
php8.1-igbinary php8.1-redis
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 177 kB of archives.
After this operation, 769 kB of additional disk space will be used.
Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-igbinary arm64 3.2.13-1+0~20230207.37+debian11~1.gbp76ad09 [32.0 kB]
Get:2 https://packages.sury.org/php bullseye/main arm64 php8.1-redis arm64 5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f [145 kB]
Fetched 177 kB in 4s (42.8 kB/s)
Selecting previously unselected package php8.1-igbinary.
(Reading database ... 99410 files and directories currently installed.)
Preparing to unpack .../php8.1-igbinary_3.2.13-1+0~20230207.37+debian11~1.gbp76ad09_arm64.deb ...
Unpacking php8.1-igbinary (3.2.13-1+0~20230207.37+debian11~1.gbp76ad09) ...
Selecting previously unselected package php8.1-redis.
Preparing to unpack .../php8.1-redis_5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f_arm64.deb ...
Unpacking php8.1-redis (5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f) ...
Setting up php8.1-igbinary (3.2.13-1+0~20230207.37+debian11~1.gbp76ad09) ...
Setting up php8.1-redis (5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f) ...
Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
PHP Warning: include(/var/www/nextcloud/config/config.php): Failed to open stream: No such file or directory in Command line code on line 1
PHP Warning: include(): Failed opening '/var/www/nextcloud/config/config.php' for inclusion (include_path='.:/usr/share/php') in Command line code on line 1
PHP Warning: Undefined variable $CONFIG in Command line code on line 1
PHP Warning: Trying to access array offset on value of type null in Command line code on line 1
Created symlink /etc/systemd/system/multi-user.target.wants/nc-provisioning.service β /lib/systemd/system/nc-provisioning.service.
Running nc-nextcloud
Downloading Nextcloud 26.0.1...
.....
System information
PHP Warning: include(/var/www/nextcloud/config/config.php): Failed to open stream: No such file or directory in Command line code on line 1
RaspberryPi Debian Bullseye
Command to install NextcloudPi: curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
Full output:
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20210119). git is already the newest version (1:2.30.2-1+deb11u2). lsb-release is already the newest version (11.1.0). lsb-release set to manually installed. sudo is already the newest version (1.9.5p2-3+deb11u1). wget is already the newest version (1.21-1+deb11u1). wget set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Getting build code... Cloning into '/tmp/nextcloudpi.6JV7J1/nextcloudpi'... remote: Enumerating objects: 14337, done. remote: Counting objects: 100% (411/411), done. remote: Compressing objects: 100% (256/256), done. remote: Total 14337 (delta 203), reused 307 (delta 151), pack-reused 13926 Receiving objects: 100% (14337/14337), 8.11 MiB | 294.00 KiB/s, done. Resolving deltas: 100% (9997/9997), done.
Installing NextCloudPi... Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libjq1 libonig5 The following NEW packages will be installed: jq libjq1 libonig5 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 361 kB of archives. After this operation, 1,117 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 libonig5 arm64 6.9.6-1.1 [176 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 libjq1 arm64 1.6-2.1 [121 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 jq arm64 1.6-2.1 [64.5 kB] Fetched 361 kB in 3s (108 kB/s) Selecting previously unselected package libonig5:arm64. (Reading database ... 97147 files and directories currently installed.) Preparing to unpack .../libonig5_6.9.6-1.1_arm64.deb ... Unpacking libonig5:arm64 (6.9.6-1.1) ... Selecting previously unselected package libjq1:arm64. Preparing to unpack .../libjq1_1.6-2.1_arm64.deb ... Unpacking libjq1:arm64 (1.6-2.1) ... Selecting previously unselected package jq. Preparing to unpack .../archives/jq_1.6-2.1_arm64.deb ... Unpacking jq (1.6-2.1) ... Setting up libonig5:arm64 (6.9.6-1.1) ... Setting up libjq1:arm64 (1.6-2.1) ... Setting up jq (1.6-2.1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Installing lamp
/etc/apt/trusted.gpg.d/ 100%[==============================>] 1.73K --.-KB/s in 0.02s
2023-05-02 10:23:20 (98.1 KB/s) - β/etc/apt/trusted.gpg.d/php.gpgβ saved [1769/1769]
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Get:5 https://packages.sury.org/php bullseye InRelease [6,841 B] Get:6 https://packages.sury.org/php bullseye/main armhf Packages [376 kB] Get:7 https://packages.sury.org/php bullseye/main arm64 Packages [375 kB]
Fetched 758 kB in 8s (94.3 kB/s)
Reading package lists... Done
Selecting previously unselected package libapr1:arm64. (Reading database ... 97167 files and directories currently installed.) Preparing to unpack .../0-libapr1_1.7.0-6+deb11u2_arm64.deb ... Unpacking libapr1:arm64 (1.7.0-6+deb11u2) ... Selecting previously unselected package libaprutil1:arm64. Preparing to unpack .../1-libaprutil1_1.6.1-5+deb11u1_arm64.deb ... Unpacking libaprutil1:arm64 (1.6.1-5+deb11u1) ... Selecting previously unselected package libaprutil1-dbd-sqlite3:arm64. Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-5+deb11u1_arm64.deb ... Unpacking libaprutil1-dbd-sqlite3:arm64 (1.6.1-5+deb11u1) ... Selecting previously unselected package libaprutil1-ldap:arm64. Preparing to unpack .../3-libaprutil1-ldap_1.6.1-5+deb11u1_arm64.deb ... Unpacking libaprutil1-ldap:arm64 (1.6.1-5+deb11u1) ... Selecting previously unselected package liblua5.3-0:arm64. Preparing to unpack .../4-liblua5.3-0_5.3.3-1.1+b1_arm64.deb ... Unpacking liblua5.3-0:arm64 (5.3.3-1.1+b1) ... Selecting previously unselected package apache2-bin. Preparing to unpack .../5-apache2-bin_2.4.56-1~deb11u2_arm64.deb ... Unpacking apache2-bin (2.4.56-1~deb11u2) ... Selecting previously unselected package apache2-data. Preparing to unpack .../6-apache2-data_2.4.56-1~deb11u2_all.deb ... Unpacking apache2-data (2.4.56-1~deb11u2) ... Selecting previously unselected package apache2-utils. Preparing to unpack .../7-apache2-utils_2.4.56-1~deb11u2_arm64.deb ... Unpacking apache2-utils (2.4.56-1~deb11u2) ... Selecting previously unselected package apache2. Preparing to unpack .../8-apache2_2.4.56-1~deb11u2_arm64.deb ... Unpacking apache2 (2.4.56-1~deb11u2) ... Setting up libapr1:arm64 (1.7.0-6+deb11u2) ... Setting up liblua5.3-0:arm64 (5.3.3-1.1+b1) ... Setting up apache2-data (2.4.56-1~deb11u2) ... Setting up libaprutil1:arm64 (1.6.1-5+deb11u1) ... Setting up libaprutil1-ldap:arm64 (1.6.1-5+deb11u1) ... Setting up libaprutil1-dbd-sqlite3:arm64 (1.6.1-5+deb11u1) ... Setting up apache2-utils (2.4.56-1~deb11u2) ... Setting up apache2-bin (2.4.56-1~deb11u2) ... Setting up apache2 (2.4.56-1~deb11u2) ... Enabling module mpm_event. Enabling module authz_core. Enabling module authz_host. Enabling module authn_core. Enabling module auth_basic. Enabling module access_compat. Enabling module authn_file. Enabling module authz_user. Enabling module alias. Enabling module dir. Enabling module autoindex. Enabling module env. Enabling module mime. Enabling module negotiation. Enabling module setenvif. Enabling module filter. Enabling module deflate. Enabling module status. Enabling module reqtimeout. Enabling conf charset. Enabling conf localized-error-pages. Enabling conf other-vhosts-access-log. Enabling conf security. Enabling conf serve-cgi-bin. Enabling site 000-default. Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service β /lib/systemd/system/apache2.service. Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service β /lib/systemd/system/apache-htcacheclean.service. Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Get:10 https://packages.sury.org/php bullseye/main arm64 php8.1-opcache arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [496 kB] Get:11 https://packages.sury.org/php bullseye/main arm64 php8.1-readline arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [12.0 kB] Get:12 https://packages.sury.org/php bullseye/main arm64 php8.1-cli arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [1,517 kB] Get:13 https://packages.sury.org/php bullseye/main arm64 php8.1-fpm arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [1,528 kB] Get:14 https://packages.sury.org/php bullseye/main arm64 php8.1 all 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [33.3 kB] Get:15 https://packages.sury.org/php bullseye/main arm64 php8.1-bz2 arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [10.3 kB] Get:16 https://packages.sury.org/php bullseye/main arm64 php8.1-curl arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [32.1 kB] Get:17 https://packages.sury.org/php bullseye/main arm64 php8.1-gd arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [27.1 kB] Get:18 https://packages.sury.org/php bullseye/main arm64 php8.1-intl arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [115 kB] Get:19 https://packages.sury.org/php bullseye/main arm64 php8.1-ldap arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [28.6 kB] Get:20 https://packages.sury.org/php bullseye/main arm64 php8.1-mbstring arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [387 kB] Get:21 https://packages.sury.org/php bullseye/main arm64 php8.1-xml arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [96.4 kB] Get:22 https://packages.sury.org/php bullseye/main arm64 php8.1-zip arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [22.5 kB] Fetched 6,291 kB in 26s (241 kB/s)
apt-listchanges: Reading changelogs... (Reading database ... 97879 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.40-1+0~20220713.16+debian11~1.gbpb6cec5_arm64.deb ... Unpacking libpcre2-8-0:arm64 (10.40-1+0~20220713.16+debian11~1.gbpb6cec5) over (10.36-2+deb11u1) ... Setting up libpcre2-8-0:arm64 (10.40-1+0~20220713.16+debian11~1.gbpb6cec5) ... Selecting previously unselected package libabsl20200923:arm64. (Reading database ... 97879 files and directories currently installed.) Preparing to unpack .../00-libabsl20200923_0~20200923.3-2_arm64.deb ... Unpacking libabsl20200923:arm64 (0~20200923.3-2) ... Selecting previously unselected package libgav1-0:arm64. Preparing to unpack .../01-libgav1-0_0.16.0-5_arm64.deb ... Unpacking libgav1-0:arm64 (0.16.0-5) ... Selecting previously unselected package libavif9:arm64. Preparing to unpack .../02-libavif9_0.8.4-2+deb11u1_arm64.deb ... Unpacking libavif9:arm64 (0.8.4-2+deb11u1) ... Selecting previously unselected package libheif1:arm64. Preparing to unpack .../03-libheif1_1.11.0-1_arm64.deb ... Unpacking libheif1:arm64 (1.11.0-1) ... Preparing to unpack .../04-libgd3_2.3.3-9+0~20230207.13+debian11~1.gbp649015_arm64.deb ... Unpacking libgd3:arm64 (2.3.3-9+0~20230207.13+debian11~1.gbp649015) over (2.3.0-2) ... Selecting previously unselected package libzip4:arm64. Preparing to unpack .../05-libzip4_1.7.3-1_arm64.deb ... Unpacking libzip4:arm64 (1.7.3-1) ... Selecting previously unselected package php-common. Preparing to unpack .../06-php-common_2%3a93+0~20230409.46+debian11~1.gbpdb4dcc_all.deb ... Unpacking php-common (2:93+0~20230409.46+debian11~1.gbpdb4dcc) ... Selecting previously unselected package php8.1-common. Preparing to unpack .../07-php8.1-common_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-common (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-opcache. Preparing to unpack .../08-php8.1-opcache_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-opcache (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-readline. Preparing to unpack .../09-php8.1-readline_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-readline (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-cli. Preparing to unpack .../10-php8.1-cli_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-fpm. Preparing to unpack .../11-php8.1-fpm_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1. Preparing to unpack .../12-php8.1_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_all.deb ... Unpacking php8.1 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-bz2. Preparing to unpack .../13-php8.1-bz2_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-bz2 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-curl. Preparing to unpack .../14-php8.1-curl_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-curl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-gd. Preparing to unpack .../15-php8.1-gd_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-gd (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-intl. Preparing to unpack .../16-php8.1-intl_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-intl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-ldap. Preparing to unpack .../17-php8.1-ldap_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-ldap (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-mbstring. Preparing to unpack .../18-php8.1-mbstring_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-mbstring (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-xml. Preparing to unpack .../19-php8.1-xml_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-xml (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Selecting previously unselected package php8.1-zip. Preparing to unpack .../20-php8.1-zip_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-zip (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Setting up php-common (2:93+0~20230409.46+debian11~1.gbpdb4dcc) ... Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer β /lib/systemd/system/phpsessionclean.timer. Setting up php8.1-common (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/calendar.ini with new version
Creating config file /etc/php/8.1/mods-available/ctype.ini with new version
Creating config file /etc/php/8.1/mods-available/exif.ini with new version
Creating config file /etc/php/8.1/mods-available/fileinfo.ini with new version
Creating config file /etc/php/8.1/mods-available/ffi.ini with new version
Creating config file /etc/php/8.1/mods-available/ftp.ini with new version
Creating config file /etc/php/8.1/mods-available/gettext.ini with new version
Creating config file /etc/php/8.1/mods-available/iconv.ini with new version
Creating config file /etc/php/8.1/mods-available/pdo.ini with new version
Creating config file /etc/php/8.1/mods-available/phar.ini with new version
Creating config file /etc/php/8.1/mods-available/posix.ini with new version
Creating config file /etc/php/8.1/mods-available/shmop.ini with new version
Creating config file /etc/php/8.1/mods-available/sockets.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvsem.ini with new version
Creating config file /etc/php/8.1/mods-available/sysvshm.ini with new version
Creating config file /etc/php/8.1/mods-available/tokenizer.ini with new version Setting up libzip4:arm64 (1.7.3-1) ... Setting up libheif1:arm64 (1.11.0-1) ... Setting up libabsl20200923:arm64 (0~20200923.3-2) ... Setting up php8.1-curl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/curl.ini with new version Setting up php8.1-xml (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/dom.ini with new version
Creating config file /etc/php/8.1/mods-available/simplexml.ini with new version
Creating config file /etc/php/8.1/mods-available/xml.ini with new version
Creating config file /etc/php/8.1/mods-available/xmlreader.ini with new version
Creating config file /etc/php/8.1/mods-available/xmlwriter.ini with new version
Creating config file /etc/php/8.1/mods-available/xsl.ini with new version Setting up libgav1-0:arm64 (0.16.0-5) ... Setting up php8.1-zip (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/zip.ini with new version Setting up php8.1-readline (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/readline.ini with new version Setting up php8.1-opcache (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/opcache.ini with new version Setting up php8.1-intl (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/intl.ini with new version Setting up php8.1-ldap (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/ldap.ini with new version Setting up libavif9:arm64 (0.8.4-2+deb11u1) ... Setting up php8.1-bz2 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/bz2.ini with new version Setting up php8.1-mbstring (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/mbstring.ini with new version Setting up php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... update-alternatives: using /usr/bin/php8.1 to provide /usr/bin/php (php) in auto mode update-alternatives: using /usr/bin/phar8.1 to provide /usr/bin/phar (phar) in auto mode update-alternatives: using /usr/bin/phar.phar8.1 to provide /usr/bin/phar.phar (phar.phar) in auto mode
Creating config file /etc/php/8.1/cli/php.ini with new version Setting up libgd3:arm64 (2.3.3-9+0~20230207.13+debian11~1.gbp649015) ... Setting up php8.1-gd (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/gd.ini with new version Setting up php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/fpm/php.ini with new version NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. Created symlink /etc/systemd/system/multi-user.target.wants/php8.1-fpm.service β /lib/systemd/system/php8.1-fpm.service. Setting up php8.1 (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed.
Get:2 https://packages.sury.org/php bullseye/main arm64 php8.1-mysql arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [108 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 gawk arm64 1:5.1.0-1 [570 kB] Get:4 http://deb.debian.org/debian bullseye/main arm64 mysql-common all 5.8+1.0.7 [7,464 B] Get:5 http://deb.debian.org/debian bullseye/main arm64 mariadb-common all 1:10.5.19-0+deb11u2 [37.0 kB] Get:6 http://deb.debian.org/debian bullseye/main arm64 galera-4 arm64 26.4.11-0+deb11u1 [692 kB] Get:7 http://deb.debian.org/debian bullseye/main arm64 libdbi-perl arm64 1.643-3+b1 [774 kB]
Get:8 http://deb.debian.org/debian bullseye/main arm64 libconfig-inifiles-perl all 3.000003-1 [52.1 kB] Get:9 http://deb.debian.org/debian bullseye/main arm64 libmariadb3 arm64 1:10.5.19-0+deb11u2 [167 kB] Get:10 http://deb.debian.org/debian bullseye/main arm64 mariadb-client-core-10.5 arm64 1:10.5.19-0+deb11u2 [762 kB] Get:11 http://deb.debian.org/debian bullseye/main arm64 mariadb-client-10.5 arm64 1:10.5.19-0+deb11u2 [1,493 kB] Get:12 http://deb.debian.org/debian bullseye/main arm64 mariadb-server-core-10.5 arm64 1:10.5.19-0+deb11u2 [6,388 kB] Get:13 http://deb.debian.org/debian bullseye/main arm64 socat arm64 1.7.4.1-3 [360 kB]
Get:14 http://deb.debian.org/debian bullseye/main arm64 mariadb-server-10.5 arm64 1:10.5.19-0+deb11u2 [4,114 kB] Get:15 http://deb.debian.org/debian bullseye/main arm64 mariadb-server all 1:10.5.19-0+deb11u2 [35.5 kB] Fetched 15.6 MB in 50s (313 kB/s)
Preconfiguring packages ... Selecting previously unselected package libsigsegv2:arm64. (Reading database ... 98249 files and directories currently installed.) Preparing to unpack .../libsigsegv2_2.13-1_arm64.deb ... Unpacking libsigsegv2:arm64 (2.13-1) ... Setting up libsigsegv2:arm64 (2.13-1) ... Selecting previously unselected package gawk. (Reading database ... 98258 files and directories currently installed.) Preparing to unpack .../00-gawk_1%3a5.1.0-1_arm64.deb ... Unpacking gawk (1:5.1.0-1) ... Selecting previously unselected package mysql-common. Preparing to unpack .../01-mysql-common_5.8+1.0.7_all.deb ... Unpacking mysql-common (5.8+1.0.7) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../02-mariadb-common_1%3a10.5.19-0+deb11u2_all.deb ... Unpacking mariadb-common (1:10.5.19-0+deb11u2) ... Selecting previously unselected package galera-4. Preparing to unpack .../03-galera-4_26.4.11-0+deb11u1_arm64.deb ... Unpacking galera-4 (26.4.11-0+deb11u1) ... Selecting previously unselected package libdbi-perl:arm64. Preparing to unpack .../04-libdbi-perl_1.643-3+b1_arm64.deb ... Unpacking libdbi-perl:arm64 (1.643-3+b1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../05-libconfig-inifiles-perl_3.000003-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000003-1) ... Selecting previously unselected package libmariadb3:arm64. Preparing to unpack .../06-libmariadb3_1%3a10.5.19-0+deb11u2_arm64.deb ... Unpacking libmariadb3:arm64 (1:10.5.19-0+deb11u2) ... Selecting previously unselected package mariadb-client-core-10.5. Preparing to unpack .../07-mariadb-client-core-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ... Unpacking mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ... Selecting previously unselected package mariadb-client-10.5. Preparing to unpack .../08-mariadb-client-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ... Unpacking mariadb-client-10.5 (1:10.5.19-0+deb11u2) ... Selecting previously unselected package mariadb-server-core-10.5. Preparing to unpack .../09-mariadb-server-core-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ... Unpacking mariadb-server-core-10.5 (1:10.5.19-0+deb11u2) ... Selecting previously unselected package socat. Preparing to unpack .../10-socat_1.7.4.1-3_arm64.deb ... Unpacking socat (1.7.4.1-3) ... Setting up mysql-common (5.8+1.0.7) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up mariadb-common (1:10.5.19-0+deb11u2) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mariadb-server-10.5. (Reading database ... 98870 files and directories currently installed.) Preparing to unpack .../mariadb-server-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ... Unpacking mariadb-server-10.5 (1:10.5.19-0+deb11u2) ... Selecting previously unselected package mariadb-server. Preparing to unpack .../mariadb-server_1%3a10.5.19-0+deb11u2_all.deb ... Unpacking mariadb-server (1:10.5.19-0+deb11u2) ... Selecting previously unselected package php8.1-mysql. Preparing to unpack .../php8.1-mysql_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-mysql (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Setting up libconfig-inifiles-perl (3.000003-1) ... Setting up mariadb-server-core-10.5 (1:10.5.19-0+deb11u2) ... Setting up galera-4 (26.4.11-0+deb11u1) ... Setting up gawk (1:5.1.0-1) ... Setting up php8.1-mysql (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/mysqlnd.ini with new version
Creating config file /etc/php/8.1/mods-available/mysqli.ini with new version
Creating config file /etc/php/8.1/mods-available/pdo_mysql.ini with new version Setting up socat (1.7.4.1-3) ... Setting up libmariadb3:arm64 (1:10.5.19-0+deb11u2) ... Setting up libdbi-perl:arm64 (1.643-3+b1) ... Setting up mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ... Setting up mariadb-client-10.5 (1:10.5.19-0+deb11u2) ... Setting up mariadb-server-10.5 (1:10.5.19-0+deb11u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service β /lib/systemd/system/mariadb.service. Setting up mariadb-server (1:10.5.19-0+deb11u2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and haven't set the root password yet, you should just press enter here.
stty: 'standard input': Inappropriate ioctl for device Enter current password for root (enter for none): stty: 'standard input': Inappropriate ioctl for device OK, successfully used password, moving on...
Setting the root password or using the unix_socket ensures that nobody can log into the MariaDB root user without the proper authorisation.
You already have your root account protected, so you can safely answer 'n'.
Switch to unix_socket authentication [Y/n] Enabled successfully! Reloading privilege tables.. ... Success!
You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] You already have your root account protected, so you can safely answer 'n'.
Change the root password? [Y/n] stty: 'standard input': Inappropriate ioctl for device New password: Re-enter new password: stty: 'standard input': Inappropriate ioctl for device Password updated successfully! Reloading privilege tables.. ... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.
Remove anonymous users? [Y/n] ... Success!
Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] ... Success!
By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.
Remove test database and access to it? [Y/n] - Dropping test database... ... Success!
Reloading the privilege tables will ensure that all changes made so far will take effect immediately.
Reload privilege tables now? [Y/n] ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB installation should now be secure.
Thanks for using MariaDB! Installing nc-nextcloud Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://packages.sury.org/php bullseye InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done iputils-ping is already the newest version (3:20210202-1). jq is already the newest version (1.6-2.1). wget is already the newest version (1.21-1+deb11u1). The following NEW packages will be installed: lbzip2 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 69.7 kB of archives. After this operation, 168 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 lbzip2 arm64 2.5-2.1 [69.7 kB] Fetched 69.7 kB in 2s (42.7 kB/s) Selecting previously unselected package lbzip2. (Reading database ... 99026 files and directories currently installed.) Preparing to unpack .../lbzip2_2.5-2.1_arm64.deb ... Unpacking lbzip2 (2.5-2.1) ... Setting up lbzip2 (2.5-2.1) ... Processing triggers for man-db (2.9.4-2) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libfuse2 samba-common Suggested packages: heimdal-clients Recommended packages: samba-common-bin The following packages will be REMOVED: exfatprogs The following NEW packages will be installed: exfat-fuse exfat-utils libfuse2 samba-common smbclient 0 upgraded, 5 newly installed, 1 to remove and 2 not upgraded. Need to get 873 kB of archives. After this operation, 2,870 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 samba-common all 2:4.13.13+dfsg-1~deb11u5 [171 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 smbclient arm64 2:4.13.13+dfsg-1~deb11u5 [504 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 libfuse2 arm64 2.9.9-5 [125 kB] Get:4 http://deb.debian.org/debian bullseye/main arm64 exfat-fuse arm64 1.3.0-2 [29.1 kB] Get:5 http://deb.debian.org/debian bullseye/main arm64 exfat-utils arm64 1.3.0-2 [44.7 kB] Fetched 873 kB in 5s (186 kB/s)
Preconfiguring packages ... (Reading database ... 99036 files and directories currently installed.) Removing exfatprogs (1.1.0-1) ... Selecting previously unselected package samba-common. (Reading database ... 99022 files and directories currently installed.) Preparing to unpack .../samba-common_2%3a4.13.13+dfsg-1~deb11u5_all.deb ... Unpacking samba-common (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package smbclient. Preparing to unpack .../smbclient_2%3a4.13.13+dfsg-1~deb11u5_arm64.deb ... Unpacking smbclient (2:4.13.13+dfsg-1~deb11u5) ... Selecting previously unselected package libfuse2:arm64. Preparing to unpack .../libfuse2_2.9.9-5_arm64.deb ... Unpacking libfuse2:arm64 (2.9.9-5) ... Selecting previously unselected package exfat-fuse. Preparing to unpack .../exfat-fuse_1.3.0-2_arm64.deb ... Unpacking exfat-fuse (1.3.0-2) ... Selecting previously unselected package exfat-utils. Preparing to unpack .../exfat-utils_1.3.0-2_arm64.deb ... Unpacking exfat-utils (1.3.0-2) ... Setting up samba-common (2:4.13.13+dfsg-1~deb11u5) ...
Creating config file /etc/samba/smb.conf with new version Setting up libfuse2:arm64 (2.9.9-5) ... Setting up exfat-utils (1.3.0-2) ... Setting up smbclient (2:4.13.13+dfsg-1~deb11u5) ... Setting up exfat-fuse (1.3.0-2) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done exfat-utils is already the newest version (1.3.0-2). exfat-fuse is already the newest version (1.3.0-2). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'php8.1-common' instead of 'php8.1-exif' php8.1-common is already the newest version (8.1.18-1+0~20230414.39+debian11~1.gbpad774c). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: php8.1-bcmath 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 14.2 kB of archives. After this operation, 65.5 kB of additional disk space will be used. Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-bcmath arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [14.2 kB] Fetched 14.2 kB in 2s (9,070 B/s)
Selecting previously unselected package php8.1-bcmath. (Reading database ... 99111 files and directories currently installed.) Preparing to unpack .../php8.1-bcmath_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-bcmath (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Setting up php8.1-bcmath (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/bcmath.ini with new version Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: php8.1-gmp 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 19.8 kB of archives. After this operation, 98.3 kB of additional disk space will be used. Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-gmp arm64 8.1.18-1+0~20230414.39+debian11~1.gbpad774c [19.8 kB] Fetched 19.8 kB in 2s (10.1 kB/s)
Selecting previously unselected package php8.1-gmp. (Reading database ... 99120 files and directories currently installed.) Preparing to unpack .../php8.1-gmp_8.1.18-1+0~20230414.39+debian11~1.gbpad774c_arm64.deb ... Unpacking php8.1-gmp (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Setting up php8.1-gmp (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ...
Creating config file /etc/php/8.1/mods-available/gmp.ini with new version Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite sasl2-bin | dovecot-common postfix-cdb mail-reader ufw postfix-doc The following NEW packages will be installed: postfix 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 1,505 kB of archives. After this operation, 4,148 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 postfix arm64 3.5.18-0+deb11u1 [1,505 kB] Fetched 1,505 kB in 12s (123 kB/s)
Preconfiguring packages ... Selecting previously unselected package postfix. (Reading database ... 99129 files and directories currently installed.) Preparing to unpack .../postfix_3.5.18-0+deb11u1_arm64.deb ... Unpacking postfix (3.5.18-0+deb11u1) ... Setting up postfix (3.5.18-0+deb11u1) ... Adding group
postfix' (GID 125) ... Done. Adding system user
postfix' (UID 117) ... Adding new userpostfix' (UID 117) with group
postfix' ... Not creating home directory/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding group
postdrop' (GID 126) ... Done. setting myhostname: cloudii-01 setting alias maps setting alias database mailname is not a fully qualified domain name. Not changing /etc/mailname. setting destinations: $myhostname, cloudii-01, localhost.localdomain, , localhost setting relayhost: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 setting mailbox_size_limit: 0 setting recipient_delimiter: + setting inet_interfaces: all setting inet_protocols: all /etc/aliases does not exist, creating it. WARNING: /etc/aliases exists, but does not have a root alias.Postfix (main.cf) is now set up with a default configuration. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run 'systemctl reload postfix'.
Running newaliases Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service β /lib/systemd/system/postfix.service. Processing triggers for man-db (2.9.4-2) ... Processing triggers for rsyslog (8.2102.0-2+deb11u1) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libjemalloc2 liblua5.1-0 liblzf1 lua-bitop lua-cjson redis-tools Suggested packages: ruby-redis The following NEW packages will be installed: libjemalloc2 liblua5.1-0 liblzf1 lua-bitop lua-cjson redis-server redis-tools 0 upgraded, 7 newly installed, 0 to remove and 3 not upgraded. Need to get 1,102 kB of archives. After this operation, 5,171 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 libjemalloc2 arm64 5.2.1-3 [192 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 liblua5.1-0 arm64 5.1.5-8.1+b3 [99.5 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 liblzf1 arm64 3.6-3 [9,860 B] Get:4 http://deb.debian.org/debian bullseye/main arm64 lua-bitop arm64 1.0.2-5 [6,508 B] Get:5 http://deb.debian.org/debian bullseye/main arm64 lua-cjson arm64 2.1.0+dfsg-2.1 [16.1 kB] Get:6 http://deb.debian.org/debian bullseye/main arm64 redis-tools arm64 5:6.0.16-1+deb11u2 [680 kB] Get:7 http://deb.debian.org/debian bullseye/main arm64 redis-server arm64 5:6.0.16-1+deb11u2 [98.2 kB] Fetched 1,102 kB in 6s (197 kB/s)
Selecting previously unselected package libjemalloc2:arm64. (Reading database ... 99322 files and directories currently installed.) Preparing to unpack .../0-libjemalloc2_5.2.1-3_arm64.deb ... Unpacking libjemalloc2:arm64 (5.2.1-3) ... Selecting previously unselected package liblua5.1-0:arm64. Preparing to unpack .../1-liblua5.1-0_5.1.5-8.1+b3_arm64.deb ... Unpacking liblua5.1-0:arm64 (5.1.5-8.1+b3) ... Selecting previously unselected package liblzf1:arm64. Preparing to unpack .../2-liblzf1_3.6-3_arm64.deb ... Unpacking liblzf1:arm64 (3.6-3) ... Selecting previously unselected package lua-bitop:arm64. Preparing to unpack .../3-lua-bitop_1.0.2-5_arm64.deb ... Unpacking lua-bitop:arm64 (1.0.2-5) ... Selecting previously unselected package lua-cjson:arm64. Preparing to unpack .../4-lua-cjson_2.1.0+dfsg-2.1_arm64.deb ... Unpacking lua-cjson:arm64 (2.1.0+dfsg-2.1) ... Selecting previously unselected package redis-tools. Preparing to unpack .../5-redis-tools_5%3a6.0.16-1+deb11u2_arm64.deb ... Unpacking redis-tools (5:6.0.16-1+deb11u2) ... Selecting previously unselected package redis-server. Preparing to unpack .../6-redis-server_5%3a6.0.16-1+deb11u2_arm64.deb ... Unpacking redis-server (5:6.0.16-1+deb11u2) ... Setting up libjemalloc2:arm64 (5.2.1-3) ... Setting up lua-cjson:arm64 (2.1.0+dfsg-2.1) ... Setting up liblzf1:arm64 (3.6-3) ... Setting up lua-bitop:arm64 (1.0.2-5) ... Setting up liblua5.1-0:arm64 (5.1.5-8.1+b3) ... Setting up redis-tools (5:6.0.16-1+deb11u2) ... Setting up redis-server (5:6.0.16-1+deb11u2) ... Created symlink /etc/systemd/system/redis.service β /lib/systemd/system/redis-server.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service β /lib/systemd/system/redis-server.service. Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: php8.1-igbinary The following NEW packages will be installed: php8.1-igbinary php8.1-redis 0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded. Need to get 177 kB of archives. After this operation, 769 kB of additional disk space will be used. Get:1 https://packages.sury.org/php bullseye/main arm64 php8.1-igbinary arm64 3.2.13-1+0~20230207.37+debian11~1.gbp76ad09 [32.0 kB] Get:2 https://packages.sury.org/php bullseye/main arm64 php8.1-redis arm64 5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f [145 kB] Fetched 177 kB in 4s (42.8 kB/s)
Selecting previously unselected package php8.1-igbinary. (Reading database ... 99410 files and directories currently installed.) Preparing to unpack .../php8.1-igbinary_3.2.13-1+0~20230207.37+debian11~1.gbp76ad09_arm64.deb ... Unpacking php8.1-igbinary (3.2.13-1+0~20230207.37+debian11~1.gbp76ad09) ... Selecting previously unselected package php8.1-redis. Preparing to unpack .../php8.1-redis_5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f_arm64.deb ... Unpacking php8.1-redis (5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f) ... Setting up php8.1-igbinary (3.2.13-1+0~20230207.37+debian11~1.gbp76ad09) ... Setting up php8.1-redis (5.3.7+4.3.0-2+0~20221210.45+debian11~1.gbp99917f) ... Processing triggers for php8.1-cli (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... Processing triggers for php8.1-fpm (8.1.18-1+0~20230414.39+debian11~1.gbpad774c) ... NOTICE: Not enabling PHP 8.1 FPM by default. NOTICE: To enable PHP 8.1 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php8.1-fpm NOTICE: You are seeing this message because you have apache2 package installed. PHP Warning: include(/var/www/nextcloud/config/config.php): Failed to open stream: No such file or directory in Command line code on line 1 PHP Warning: include(): Failed opening '/var/www/nextcloud/config/config.php' for inclusion (include_path='.:/usr/share/php') in Command line code on line 1 PHP Warning: Undefined variable $CONFIG in Command line code on line 1 PHP Warning: Trying to access array offset on value of type null in Command line code on line 1 Created symlink /etc/systemd/system/multi-user.target.wants/nc-provisioning.service β /lib/systemd/system/nc-provisioning.service. Running nc-nextcloud Downloading Nextcloud 26.0.1... .....