Open tenent007963 opened 6 months ago
Temporary fix:
Using inspect element, find v_owner
select tag and add this line in it:
<option name="admin">admin</option>
Known issue it has been fixed allready in the codebase
Are you by any chance referring to this code block?
<div x-cloak x-show="!showUserTable" id="usrtable">
<div class="u-mb10">
<label for="v_owner" class="form-label"><?= _("Assigned User") ?></label>
<select class="form-select" name="v_owner" id="v_owner">
<?php
foreach ($users as $key => $value) {
echo "\t\t\t\t<option value=\"".htmlentities($value)."\"";
if ((!empty($v_owner)) && ( $value == $v_owner )) echo ' selected';
echo ">".htmlentities($value)."</option>\n";
}
?>
</select>
</div>
</div>
If yes, then I'm afraid this is the exact code that is causing the control panel to not give any available options to select. I've check the last updated version of add_ip.php together with the latest release version, apparently it doesn't work as intended.
hello Will this fix be released? thanks
I found the problem .. its about user hestiamail in /etc/passwd with user email@ .. Its generating a extra count for loop Just remove the mail from user hestiamail in /etc/passwd thats everything works again.
I found the problem .. its about user hestiamail in /etc/passwd with user email@ .. Its generating a extra count for loop Just remove the mail from user hestiamail in /etc/passwd thats everything works again.
it works! If someone did not understand, here is the line from /etc/passwd
hestiamail:x:1000:1000:myemail@bubka.com:/home/hestiamail:/bin/sh
remove myemail@bubka.com
Describe the bug
Editing or adding new IP in Network section will cause a temporary 500 internal server error, no changes are saved during the error. Investigating the log and network requests indicates a "v_owner" variable is missing from the POST request, and exceptions not handled properly.
Tell us how to replicate the bug
Which components are affected by this bug?
Firewall (Iptables, Fail2ban)
Hestia Control Panel Version
1.8.11
Operating system
Ubuntu 20.04
Log capture