▣▣▣◻ Phase 3 of 4: Installation
Checking and installing system package updates
Installing Virtualmin 7 and all related packages touch: cannot touch ‘stopspinning’: No such file or directory
virtualmin-install.sh: 277: cannot create unitest.txt: Directory nonexistent
virtualmin-install.sh: 279: cannot open unitest.txt: No such file
[ERROR] Failed with error: 100
✘
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Processing triggers for dovecot-core (1:2.3.7.2-1ubuntu3.6) …
Processing triggers for php7.4-fpm (7.4.3-4ubuntu2.19) …
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for php7.4-cgi (7.4.3-4ubuntu2.19) …
Errors were encountered while processing:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Made it here…why?
Installing Virtualmin 7 and all related packages: [2023-09-17 23:52:49 UTC] [ERROR] Failed with error: 100
[2023-09-17 23:52:49 UTC] [ERROR] Something went wrong. Exiting.
[2023-09-17 23:52:49 UTC] [ERROR] The last few log entries were:
root@mail:~#
Oh, no. That’s not good. The beta is long over, and the beta installer is simply not supported. We have a stable version. If it doesn’t work, we’ll fix it.
I’ll try to reproduce the error you had…I don’t know why that would happen unless you’d set /tmp to disallow execution (which would not be a freshly installed supported OS, since none of our support distros do that by default).
Joe, I installed several computers and servers with Ubuntu 22.04. Four of them have crashed and/or stopped working and/or lost data causing me a LOT of work. The last one had your Virtualmin server w Postfix. If I was a pro I might be able to troubleshoot. I’m spooked with Ubuntu 22.04 and Ubuntu 23.04 has had reviews saying “I love Ubuntu but please don’t install 23.04”. I have a Virtualmin server on Ubuntu 14.04 [stable] that is still working even though I’ve moved most of the data to newer servers. I want stable since I’m not a pro.
The new server is on Sullivan’s Hosting. [They have a free trial period for you :}] This is a new VPS provider for me and I installed Ubuntu 20.04 from their control panel and then didn’t do anything but change the password of root. I didn’t check the /tmp folder before the successful install but now the properties of /tmp are
No, it’s not your server. I guess there’s a bug in the new install script I just rolled out today. I didn’t test it, but I’d assumed Ilia had. I’ll roll it back until I figure out what’s going on.
I really did test it quite a lot but sadly I didn’t test the full install! I didn’t see it was necessary. This bug will be fixed today in Virtualmin Install 7.1.3 though!
By the way, the real source of the issue actually was sa-compile getting in conflict with our exported tempdir directory (environmental variable). The responsibility is ours but it isn’t our bug technically speaking.
for information, i did an install today (but ran with --minimal tag) using the old script.
Downloading repository metadata
Enabling universe repositories, if not already available
Disabling cdrom: repositories
Cleaning up software repo metadata
▣▣▣◻ Phase 3 of 4: Installation
Checking and installing system package updates
Installing Virtualmin 7 and all related packages touch: cannot touch ‘stopspinning’: No such file or directory
virtualmin-install.sh: 277: cannot create unitest.txt: Directory nonexistent
virtualmin-install.sh: 279: cannot open unitest.txt: No such file
Installing Virtualmin 7 and all related packages updates touch: cannot touch ‘stopspinning’: No such file or directory
virtualmin-install.sh: 277: cannot create unitest.txt: Directory nonexistent
virtualmin-install.sh: 279: cannot open unitest.txt: No such file
i got that same error and with the beta install i get this ;
Downloading Webmin key [ ]
Installing Webmin key [ ]
Downloading repository metadata [ ]
Enabling universe repositories, if not already available [ ]
Disabling cdrom: repositories [ ]
Cleaning up software repo metadata [ ]
▣▣□ Phase 2 of 3: Installation
Checking and installing system packages updates [ERROR] Failed with error: 100
[ ✘ ]
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
util: secure_tmpdir failed to create file ‘./.spamassassin109148pIfEzKtmp’: Permission denied
util: secure_tmpdir failed to create file ‘./.spamassassin109148xpGSkctmp’: Permission denied
util: secure_tmpdir failed to create file ‘./.spamassassin109148mvhkXOtmp’: Permission denied
util: secure_tmpdir failed to create file ‘./.spamassassin109148Bt0lK2tmp’: Permission denied
util: secure_tmpdir failed to create file ‘./.spamassassin109148iKWz6etmp’: Permission denied
util: secure_tmpdir failed to create a directory, giving up at /usr/share/perl5/Mail/SpamAssassin/Util.pm line 1298.
secure_tmpdir failed at /usr/bin/sa-compile line 254.
dpkg: error processing package sa-compile (–configure):
installed sa-compile package post-installation script subprocess returned error exit status 13
Errors were encountered while processing:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Checking and installing system packages updates: [2023-09-18 21:27:17 CEST] [ERROR] Failed with error: 100
[2023-09-18 21:27:17 CEST] [ERROR] Something went wrong. Exiting.
[2023-09-18 21:27:17 CEST] [ERROR] The last few log entries were:
root@DED-531568:/tmp#
I rolled back the install script to the 7.1.0 version, which works. But, the 7.1.2 version leaves spamassassin package in a broken state that’s not easy to undo. I recommend starting over with a fresh OS install.
If that’s not possible, it may be that using virtualmin-install.sh --uninstall will remove enough of the mess to allow it to install successfully, though I haven’t tested that. (This should only be used on a system that has nothing of value on it. It is very destructive. And, it may or may not do anything useful in this circumstance. Until now, we never had a case where the configure step of a package was mess up in this particular way. It’s real messy. I really recommend just starting over if you can.)