this is what the error log looks like after I tried installing, though I am migrating, so some activity here could be people trying to reach the site.
I also notice that a Database is created, though it is empty.
I’m running on Debian 12. I tailed journalctl as well while executing but I couldn’t see anything that looks important, but I’m not sure what I’m looking for. There’s nothing in the syslog that matches up, just CRON[941861]: (hestiaweb) CMD (sudo /usr/local/hestia/bin/v-update-sys-queue restart)
Feb 06 21:52:54 ************.vps.com sudo[1107311]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-config json
Feb 06 21:52:54 ************.vps.com sudo[1107311]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:54 ************.vps.com sudo[1107311]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:54 ************.vps.com sudo[1107324]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user ***** json
Feb 06 21:52:54 ************.vps.com sudo[1107324]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:54 ************.vps.com sudo[1107324]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:54 ************.vps.com sudo[1107343]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:52:54 ************.vps.com sudo[1107343]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107343]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107360]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-php json
Feb 06 21:52:55 ************.vps.com sudo[1107360]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107360]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107378]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:52:55 ************.vps.com sudo[1107378]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107378]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107395]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user ***** json
Feb 06 21:52:55 ************.vps.com sudo[1107395]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107395]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107414]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-add-database ***** 47954 47954 /tmp/hstHlvRMn mysql localhost utf8mb4
Feb 06 21:52:55 ************.vps.com sudo[1107414]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107414]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107570]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-delete-fs-file ***** /home/*****/web/************.com/public_html/robots.txt
Feb 06 21:52:55 ************.vps.com sudo[1107570]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107570]: pam_unix(sudo:session): session closed for user root
Feb 06 21:52:55 ************.vps.com sudo[1107595]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-delete-fs-file ***** /home/*****/web/************.com/public_html/index.html
Feb 06 21:52:55 ************.vps.com sudo[1107595]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:52:55 ************.vps.com sudo[1107595]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:06 ************.vps.com sudo[1107622]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-extract-fs-archive ***** /tmp/hestia-webapp/mediawiki-1.42.3.zip /home/*****/web/************.com/public_html/tmp-mediawiki 1
Feb 06 21:53:06 ************.vps.com sudo[1107622]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:12 ************.vps.com sudo[1107622]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:12 ************.vps.com sudo[1107686]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-change-web-domain-tpl ***** ************.com default
Feb 06 21:53:12 ************.vps.com sudo[1107686]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:12 ************.vps.com systemd[1]: Reloading apache2.service - The Apache HTTP Server...
Feb 06 21:53:12 ************.vps.com apachectl[1107781]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ************.vps.com. Set the 'ServerName' directive globally to suppress this message
Feb 06 21:53:12 ************.vps.com systemd[1]: Reloaded apache2.service - The Apache HTTP Server.
Feb 06 21:53:13 ************.vps.com sudo[1107686]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:13 ************.vps.com sudo[1107940]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-php json
Feb 06 21:53:13 ************.vps.com sudo[1107940]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:13 ************.vps.com sudo[1107940]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:13 ************.vps.com sudo[1107958]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-change-web-domain-backend-tpl ***** ************.com PHP-8_2
Feb 06 21:53:13 ************.vps.com sudo[1107958]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:13 ************.vps.com systemd[1]: Reloading apache2.service - The Apache HTTP Server...
Feb 06 21:53:13 ************.vps.com apachectl[1108111]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ************.vps.com. Set the 'ServerName' directive globally to suppress this message
Feb 06 21:53:13 ************.vps.com systemd[1]: Reloaded apache2.service - The Apache HTTP Server.
Feb 06 21:53:13 ************.vps.com systemd[1]: Reloading php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Feb 06 21:53:13 ************.vps.com systemd[1]: Reloaded php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Feb 06 21:53:13 ************.vps.com sudo[1107958]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:13 ************.vps.com sudo[1108322]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:53:13 ************.vps.com sudo[1108322]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:14 ************.vps.com sudo[1108322]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:14 ************.vps.com sudo[1108339]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-copy-fs-directory ***** /home/*****/web/************.com/public_html/tmp-mediawiki/mediawiki-1.42.3/. /home/*****/web/************.com/public_html/
Feb 06 21:53:14 ************.vps.com sudo[1108339]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:16 ************.vps.com sudo[1108339]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:16 ************.vps.com sudo[1108369]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-run-cli-cmd ***** /usr/bin/php8.2 \'/home/*****/web/************.com/public_html/maintenance/install.php\' --dbserver=\'localhost\' --dbname=\'*****_47954\' --installdbuser=\'*****_47954\' --installdbpass=\'2ddaa84e21886111e33b\' --dbuser=\'*****_47954\' --dbpass=\'2ddaa84e21886111e33b\' --server=\'https://************.com\' --scriptpath= --lang=\'en\' --pass=\'Tyr@nt103cunt1mediawiki\' MediaWiki \'admin\'
Feb 06 21:53:16 ************.vps.com sudo[1108369]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:16 ************.vps.com runuser[1108382]: pam_unix(runuser:session): session opened for user *****(uid=1003) by (uid=0)
Feb 06 21:53:16 ************.vps.com runuser[1108382]: pam_unix(runuser:session): session closed for user *****
Feb 06 21:53:16 ************.vps.com sudo[1108369]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:16 ************.vps.com sudo[1108387]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-config json
Feb 06 21:53:16 ************.vps.com sudo[1108387]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:16 ************.vps.com sudo[1108387]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:16 ************.vps.com sudo[1108400]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user ***** json
Feb 06 21:53:16 ************.vps.com sudo[1108400]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:16 ************.vps.com sudo[1108400]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:16 ************.vps.com sudo[1108419]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:53:16 ************.vps.com sudo[1108419]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108419]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108436]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-php json
Feb 06 21:53:17 ************.vps.com sudo[1108436]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108436]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108454]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:53:17 ************.vps.com sudo[1108454]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108454]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108471]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user ***** json
Feb 06 21:53:17 ************.vps.com sudo[1108471]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108471]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108490]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:53:17 ************.vps.com sudo[1108490]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108490]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108507]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-sys-php json
Feb 06 21:53:17 ************.vps.com sudo[1108507]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108507]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108525]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-database-hosts json
Feb 06 21:53:17 ************.vps.com sudo[1108525]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108525]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108543]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-run-cli-cmd ***** ls /home/*****/web/************.com/public_html/
Feb 06 21:53:17 ************.vps.com sudo[1108543]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com runuser[1108556]: pam_unix(runuser:session): session opened for user *****(uid=1003) by (uid=0)
Feb 06 21:53:17 ************.vps.com runuser[1108556]: pam_unix(runuser:session): session closed for user *****
Feb 06 21:53:17 ************.vps.com sudo[1108543]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108561]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-web-domain ***** ************.com json
Feb 06 21:53:17 ************.vps.com sudo[1108561]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108561]: pam_unix(sudo:session): session closed for user root
Feb 06 21:53:17 ************.vps.com sudo[1108578]: hestiaweb : PWD=/usr/local/hestia/web/add/webapp ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-database-hosts json
Feb 06 21:53:17 ************.vps.com sudo[1108578]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1004)
Feb 06 21:53:17 ************.vps.com sudo[1108578]: pam_unix(sudo:session): session closed for user root
Feb 06 21:54:01 ************.vps.com CRON[1108595]: pam_unix(cron:session): session opened for user hestiaweb(uid=1004) by (uid=0)
Feb 06 21:54:01 ************.vps.com CRON[1108596]: (hestiaweb) CMD (sudo /usr/local/hestia/bin/v-update-sys-queue restart)
I can see the v-run-cli-cmd which I think is the bash script executing install.php.
The nginx-error.log in /usr/local/hestia/log has the following:
big cli command | Could not open input file: '/home/*****/web/************.com/public_html/maintenance/install.php'
which again makes me think it’s a permissions issue? But I’ve checked the install.php again and it definitely is set to 644 so there shouldn’t be any problems reading it.
Googling tells me that “Could not open input file” is often a case of windows line endings. I’ve used dos2unix on both the v-run-cli-cmd script and install.php but the file sizes didn’t change so it wasn’t that.
I’ve solved my problem, but in a roundabout way. I don’t think it would work for anyone else.
The files are put into public_html though the install.php fails. To my knowledge, the install.php is only creating a database and configuring the initial LocalSettings.php files.
Because I was migrating, I didn’t actually need the install.php to run. The DB was created so I could just hook everything up and import the exported DB from the previous installation etc.
Maybe for someone else, you could run the install.php manually, but I’m not sure about which user to do it with.
As an aside, MediaWiki is currently on version 1.43. It’s easy enough to edit /usr/local/hestia/web/src/app/WebApp/Installers/MediaWiki/MediaWikiSetup.php to use the newer version. I had to do this because my old wiki was 1.43 and you can’t downgrade during the migration.
I’ve now had similar issues with the install scripts failing in the command line for both Opencart and Prestashop.
Not sure what I can do on my end to get these to work? I get kind of grab the command from the logs and manually run it, but I’m uncertain if it matters what user I run it as.
many thanks for this. i was experimenting with NamelessMC and had the same issue. changed the permissions on the /tmp/hestia-webapp folder and i’m now up and running
This issue seems to be fixed for me by removing /tmp/hestia-webapp as suggested earlier. Permissions for the folder:
Before: drwxr-xr-x 2 admin admin
After: drwxr-xr-x 2 hestiaweb hestiaweb
I don’t know how the old folder got assigned to admin though I do recall seeing in the patch notes that hestiaweb was a newly added user so maybe the old folder was correct for earlier versions of Hestia.