Description
Steps To Reproduce
- unpacked vm-master
- started sudo bash nextcloud_install_production.sh
- -> no new user added, no data disk, free space on root ~57GB
- after a few minutes, script exits with error
Expected Result
Script should finish without erros, I think
Actual Result
...
grep: /etc/apache2/apache2.conf: No such file or directory
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
ERROR: role "nextcloud_db_user" already exists
ERROR: database "nextcloud_db" already exists
PostgreSQL password: t#xxxxxxxxxxxxcr
[⣾⣽⣻⣾⣽⣻⣾⣽⣻⣾⣽⣻⣾⣽⣻⣾⣽⣻]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
The following NEW packages will be installed:
apache2
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/97.8 kB of archives.
After this operation, 546 kB of additional disk space will be used.
Selecting previously unselected package apache2.
(Reading database ... 109449 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.52-1ubuntu4.1_arm64.deb ...
Unpacking apache2 (2.4.52-1ubuntu4.1) ...
Setting up apache2 (2.4.52-1ubuntu4.1) ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
apache-htcacheclean.service is a disabled or a static unit not running, not star
ting it.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for ufw (0.36.1-4build1) ...
Rules updated for profile 'OpenSSH'
Skipped reloading firewall
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
ERROR: Module rewrite does not exist!
ERROR: Module headers does not exist!
ERROR: Module proxy does not exist!
ERROR: Module proxy_fcgi does not exist!
ERROR: Module setenvif does not exist!
ERROR: Module env does not exist!
ERROR: Module mime does not exist!
ERROR: Module dir does not exist!
ERROR: Module authz_core does not exist!
ERROR: Module alias does not exist!
ERROR: Module ssl does not exist!
ERROR: Module mpm_prefork does not exist!
systemctl restart apache2.service failed
sudo: php: command not found
Screenshots, Videos, or Pastebins
No response
Additional Context
Linux version 5.15.0-1015-raspi (buildd@bos02-arm64-077) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #17-Ubuntu SMP PREEMPT Mon Sep 12 13:14:51 UTC 2022
Build Version
Linux version 5.15.0-1015-raspi (buildd@bos02-arm64-077) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #17-Ubuntu SMP PREEMPT Mon Sep 12 13:14:51 UTC 2022
Environment
By using the scripts
Environment Details
Raspi 4 with 64GB Falshdisk.