| SYSTEM INFORMATION | |
|---|---|
| OS type and version: | Ubuntu 20.04 |
| Webmin version: | 1.973 |
| Virtualmin version: | 6.15 |
| Related products version: |
I am creating a new server from scratch and transferring into it backups from a Ubuntu 16.04 server that has Webmin 1.972 and Virtualmin 6.14 on it. I have transferred my initial domain - which has no browsable site on it - and a subserver/subdomain that is the real focus of the domain. The “restore” processes worked without error. I have done a Re-Check Configuration and everything passes.
The subdomain in question is able to display an image, but when I try to load a php file containing only phpinfo(); I get: File not found. Apache error log says: AH01071: Got error ‘Primary script unknown’.
I am presuming I have an error in my site apache .conf file, and I have solved this in the past by creating a new subserver from scratch, with Virtualmin able to generate a valid .conf file. I would then compare the differences to see what’s suspicious. However creation of the subserver fails with this output:
Creating home directory ..
.. done
Adding new virtual website ..
.. done
Performing other Apache configuration ..
.. done
Setting up scheduled Webalizer reporting ..
.. Webalizer reporting failed! : Failed to open /home/account/domains/test.account.org/public_html/stats/.htaccess.webmintmp.2343188 : No such file or directory
Creating SSL certificate and private key ..
.. SSL website failed! : Failed to open /home/account/domains/test.account.org/ssl.cert.webmintmp.2343188 : No such file or directory
Setting up log file rotation ..
.. done
Creating MySQL database dbtest ..
.. done
Saving server details ..
.. done
Applying web server configuration ..
.. done
Updating Webmin user ..
.. done
Creating initial website index page ..
Failed to create virtual server : Failed to open /home/account/domains/test.account.org/public_html/index.html.webmintmp.2343188 : No such file or directory
When I check the file system, the directory /home/account/domains/test.account.org doesn’t exist. It never got created despite the 'Creating home directory ..
.. done" in the progress log.
What’s going on?