-
Posts
10328 -
Joined
-
Last visited
-
Days Won
43
Everything posted by d00p
-
Fehler in nginx.confs: listen ip:443 und froxlor_selfsigned.pem
d00p replied to neomatt's question in German / Deutsch
Poste bitte mal eine vollständige vhost config die erstellt wurde -
How to use froxlor-cli for api-calls / how to provide parameters?
d00p replied to nebulo's question in General Discussion
As stated in the --help output of the command: parameters Paramaters to pass to the command as JSON array Dont see where you are doing anything wrong, looks ok to me (and you've stated that the following works...) -
How to use froxlor-cli for api-calls / how to provide parameters?
d00p replied to nebulo's question in General Discussion
`-s` = show parameters, that won't run the `Customers.add` API call. The commands call is the following: froxlor:api-call [options] [--] <user> <api-command> [<parameters>] Also: Arguments: user Loginname of the user you want to run the command as api-command The command to execute in the form "Module.function" parameters Paramaters to pass to the command as JSON array The API doc for adding customers can be found here: https://docs.froxlor.org/latest/api-guide/commands/customers.html#customers-add -
mail-User gelöscht Mailbox auch, wieder neu erstellen geht nicht mehr
d00p replied to jottschi's question in German / Deutsch
great -
mail-User gelöscht Mailbox auch, wieder neu erstellen geht nicht mehr
d00p replied to jottschi's question in German / Deutsch
bin/froxlor-cli froxlor:cron -f -d -
mail-User gelöscht Mailbox auch, wieder neu erstellen geht nicht mehr
d00p replied to jottschi's question in German / Deutsch
4 Jahre alter Thread...und ich muss meine ursprüngliche Antwort wiederholen weil unklar: Bzw prüfe im froxlor Dashboard als Admin ob dort noch offene Aufgaben angezeigt werden -
Problem bekannt, siehe https://github.com/Froxlor/Froxlor/commit/4b753695979d44cb8ef2d9da4b16f897729b0128
-
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
Yes, already committed that yesterday. There will most likely be a bug fix release this week -
You need to have default_pass_scheme unset/commented out. Seems like you have very old passwords (e.g. not set with froxlor 0.10 or later, those that do not start with {hash-algorithm} Search the forum, there is a topic where this is discussed. Iirc either re-set the passwords so they will be stored in the new way or make a dovecot post-login-password-convert-script that updates password hashes after POP3/IMAP Login
-
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
Ah from cli, there's no user-session there, try this: diff --git a/lib/Froxlor/Domain/IpAddr.php b/lib/Froxlor/Domain/IpAddr.php index 1c6f5cdf..c53eeac7 100644 --- a/lib/Froxlor/Domain/IpAddr.php +++ b/lib/Froxlor/Domain/IpAddr.php @@ -55,6 +55,7 @@ class IpAddr /** * @return array + * @throws \Exception */ public static function getSslIpPortCombinations(): array { @@ -75,7 +76,7 @@ class IpAddr $additional_conditions_params = []; $additional_conditions_array = []; - if ($userinfo['ip'] != '-1') { + if (!empty($userinfo) && $userinfo['ip'] != '-1') { $admin_ip_stmt = Database::prepare(" SELECT `id`, `ip`, `port` FROM `" . TABLE_PANEL_IPSANDPORTS . "` WHERE `id` = IN (:ipid) "); -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
Can you please provide your froxlor-settings.json? (If required, you can do so privately) -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
Hm it's related to the navigation menu and it checks for customer stuff but you're admin, can you try this patch: diff --git a/lib/navigation/00.froxlor.main.php b/lib/navigation/00.froxlor.main.php index f322fe85..9863ce54 100644 --- a/lib/navigation/00.froxlor.main.php +++ b/lib/navigation/00.froxlor.main.php @@ -38,7 +38,7 @@ return [ 'url' => 'customer_email.php?page=emails', 'label' => lng('menue.email.emails'), 'required_resources' => 'emails', - 'add_shortlink' => CurrentUser::canAddResource('emails') ? 'customer_email.php?page=email_domain&action=add' : null, + 'add_shortlink' => !CurrentUser::isAdmin() && CurrentUser::canAddResource('emails') ? 'customer_email.php?page=email_domain&action=add' : null, ], [ 'url' => Settings::Get('panel.webmail_url'), @@ -60,7 +60,7 @@ return [ 'url' => 'customer_mysql.php?page=mysqls', 'label' => lng('menue.mysql.databases'), 'required_resources' => 'mysqls', - 'add_shortlink' => CurrentUser::canAddResource('mysqls')? 'customer_mysql.php?page=mysqls&action=add' : null, + 'add_shortlink' => !CurrentUser::isAdmin() && CurrentUser::canAddResource('mysqls')? 'customer_mysql.php?page=mysqls&action=add' : null, ], [ 'url' => Settings::Get('panel.phpmyadmin_url'), @@ -81,7 +81,7 @@ return [ [ 'url' => 'customer_domains.php?page=domains', 'label' => lng('menue.domains.settings'), - 'add_shortlink' => CurrentUser::canAddResource('subdomains') ? 'customer_domains.php?page=domains&action=add' : null, + 'add_shortlink' => !CurrentUser::isAdmin() && CurrentUser::canAddResource('subdomains') ? 'customer_domains.php?page=domains&action=add' : null, ], [ 'url' => 'customer_domains.php?page=sslcertificates', @@ -98,7 +98,7 @@ return [ [ 'url' => 'customer_ftp.php?page=accounts', 'label' => lng('menue.ftp.accounts'), - 'add_shortlink' => CurrentUser::canAddResource('ftps') ? 'customer_ftp.php?page=accounts&action=add' : null, + 'add_shortlink' => !CurrentUser::isAdmin() && CurrentUser::canAddResource('ftps') ? 'customer_ftp.php?page=accounts&action=add' : null, ], [ 'url' => Settings::Get('panel.webftp_url'), -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
no, weird, i'm not getting that. Is that a totally clean fresh install without any customers / domains / etc. ? -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
Could you please verify whether this fixes the issue? diff --git a/lib/Froxlor/Api/Commands/SubDomains.php b/lib/Froxlor/Api/Commands/SubDomains.php index ed8f49fc..c38fd9bf 100644 --- a/lib/Froxlor/Api/Commands/SubDomains.php +++ b/lib/Froxlor/Api/Commands/SubDomains.php @@ -1047,7 +1047,7 @@ class SubDomains extends ApiCommand implements ResourceEntity $custom_list_result = $_custom_list_result['list']; } $customer_ids = []; - $customer_stdsubs = []; + $customer_stdsubs = [0=>0]; foreach ($custom_list_result as $customer) { $customer_ids[] = $customer['customerid']; $customer_stdsubs[$customer['customerid']] = $customer['standardsubdomain']; -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
@nebulo are you also using mysql-8.0 ? -
Update 2.0.21 to 2.0.22 failed Sql Exception
d00p replied to MeinerEiner's question in General Discussion
I've tested this multiple times...do you login as admin or as customer? -
People still use courier? You should switch
-
Can't check version / Error loading newsfeed
d00p replied to chrisiwien's question in General Discussion
Dir fehlen vermutlich PHP Extensions, schau mal in die Webserver error logs, da sollte eigentlich was hilfreiches stehen -
Rechte Problem nach Upgrade auf 2.x (apache, FPM)
d00p replied to rickstinson's question in German / Deutsch
-
Rechte Problem nach Upgrade auf 2.x (apache, FPM)
d00p replied to rickstinson's question in German / Deutsch
was sagt denn "id www-data"? Dort sollte als Gruppenmitgliedschaft jeder Kunde drinstehen. Vielleicht gehts auch einfacher wenn du bei uns im Discord vorbeischaust, dann ist das nachfragen nach info nicht immer so zäh -
Rechte Problem nach Upgrade auf 2.x (apache, FPM)
d00p replied to rickstinson's question in German / Deutsch
nscd brauchst du gar nicht bei libnss-extrausers, lösch und purge den mal weg -
just read it all...we've written that for a reason
-
Froxlor benötigt seine eigene Domain, es kann aber natürlich auch keine Subdomain sein. Wenn du "meinfroxlor.de" selbst (als Kunde) für E-Mails usw. nutzen willst, darf der Froxlor-Systemhostname nicht "meinefroxlor.de" sein. Du kannst das z.B. auf "froxlor.meinfroxlor.de" setzen oder was auch immer dir beliebt. Sofern jetzt schon standard-subdomains für kunden existieren (kunde1.meinfroxlor.de usw.) solltest du nach anpassung des Froxlor-Systemhostnames bei jedem Kunden das einmal deaktivieren und im Anschluss wieder aktivieren, damit korrekte Standardsubdomains erstellt werden (z.B. dann kunde1.froxlor.meinfroxlor.de)
-
Read the migration guide...
-
At least reconfigure your system-services using https://docs.froxlor.org/latest/admin-guide/cli-scripts/#config-services