You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace admin user with "hestiaweb" and new "user" (hestiacp#3855)
* Update debian.sh
* Go trough all scripts to remove admin user
* Update more scripts
* Complete /bin/
* /func folder
* Run php under hestiaweb user
* Fix check password
* Patch few bugs in installer
* For got to update hestia-nginx
* Update post install scripts
* Forgot some usage of "admin" in upgrade.sh
* Run via /var/spool/cron/crontabs/hestiaweb
* Update Ubuntu installer
* Delete hard coded admin user and replace with variable
* Update 1 more location
Todo: api
* Add root_user to v-list-sys-config
* Update permissions filemanager
Also removed unues install-fm
* Update API to use new admin user
* Remove "Unsafe warning"
* Upgrade script
* Fix upgrade script
* Fix issue
* Check if home dir exstis
* Include sudo file + cronjobs
* Fix cronjobs
* Use correct path
* Revert "Remove "Unsafe warning""
This reverts commit c2f2cca.
* Add ROLE to sessions
And use it in the checks
* Add remove admin user for sudoers
Keep enabled for now as it would prevent you from going to 1.8.x
* set default new user package to "default"
Also add upgrade notice...
* Replace hardcode admin
* Allow W = yes
* remove extra line
* Source conf after update
* Fix bug with ROOT_USER not found on upgrade for the first time
$BIN/v-add-user-notification admin'Composer installation failed!''<p class="u-text-bold">Hestia will not work without Composer.</p><p>Please try running the installer manually from a shell session:<br><code>v-add-sys-dependencies</code></p><p>If this continues, <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a>.</p>'
52
+
$BIN/v-add-user-notification "$ROOT_USER"'Composer installation failed!''<p class="u-text-bold">Hestia will not work without Composer.</p><p>Please try running the installer manually from a shell session:<br><code>v-add-sys-dependencies</code></p><p>If this continues, <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a>.</p>'
53
53
exit 1
54
54
fi
55
55
fi
@@ -78,7 +78,7 @@ if [ $? -ne 0 ]; then
78
78
echo"ERROR: PHPMailer installation failed!"
79
79
echo"Please report this to our development team:"
80
80
echo"https://github.com/hestiacp/hestiacp/issues"
81
-
$BIN/v-add-user-notification admin'Hestia PHP dependencies installation failed!''<p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a> to report this to our development team.</p>'
81
+
$BIN/v-add-user-notification "$ROOT_USER"'Hestia PHP dependencies installation failed!''<p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a> to report this to our development team.</p>'
$BIN/v-add-user-notification admin'Composer installation failed!''<p class="u-text-bold">The File Manager will not work without Composer.</p><p>Please try running the installer manually from a shell session:<br><code>v-add-sys-filemanager</code></p><p>If this continues, <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a>.</p>'
54
+
$BIN/v-add-user-notification "$ROOT_USER"'Composer installation failed!''<p class="u-text-bold">The File Manager will not work without Composer.</p><p>Please try running the installer manually from a shell session:<br><code>v-add-sys-filemanager</code></p><p>If this continues, <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a>.</p>'
55
55
exit 1
56
56
fi
57
57
fi
@@ -91,7 +91,7 @@ if [ $? -ne 0 ]; then
91
91
echo"ERROR: File Manager installation failed!"
92
92
echo"Please report this to our development team:"
93
93
echo"https://github.com/hestiacp/hestiacp/issues"
94
-
$BIN/v-add-user-notification admin'File Manager installation failed!''<p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a> to report this to our development team.</p>'
94
+
$BIN/v-add-user-notification "$ROOT_USER"'File Manager installation failed!''<p>Please <a href="https://github.com/hestiacp/hestiacp/issues" target="_blank">open an issue on GitHub</a> to report this to our development team.</p>'
0 commit comments