-
Posts
10317 -
Joined
-
Last visited
-
Days Won
43
Everything posted by d00p
-
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
-
after update from 0.10.38 to 2 some emails don't work any more
d00p replied to rubo77's question in General Discussion
third time you are writing this...its been covered in -
Not a bug, please see https://docs.froxlor.org/latest/general/migration-guide.html Also, using debian 10 - consider upgrading to 11 or even 12 You came from a very old system and even older froxlor version, you should definetly re-configure the services at some point to ensure everything is up-to-date
-
good luck
-
So why didn't you include this information at all in your opening post? Check whether the file `lib/Froxlor/Froxlor.php` has the correct version in it (you should be able to find it). If it's not your current version then there is definitely something wrong if you don't see the database update page after login. There should also be an update.log within froxlor maybe there is some helpful information in it. Where exactly did you download it? It should be https://files.froxlor.org/releases/froxlor-0.10.38.3.tar.gz (There are also checksums to validate)
-
Well froxlor would not be working, but if you insist: https://github.com/Froxlor/Froxlor/blob/0.10.x/install/froxlor.sql Also, why are you using 0.10.17? It's super old, the last 0.10.x is 0.10.38.3....maybe also consider updating to the latest 2.0.x release
-
So what makes you think that you will need to (re)update the database? Looks like it went through already...I understand your issue. Maybe join us on Discord if you need to elaborate further
-
After login of course...
-
PHP-FPM nachträglich bei alter Installation hinzufügen
d00p replied to Anachon's question in German / Deutsch
libnss-extrausers macht das ja -
Please don't do things like that, you might end up in a broken system
-
You should see a update process after updating and your first login. What do you see when you login?
-
PHP-FPM nachträglich bei alter Installation hinzufügen
d00p replied to Anachon's question in German / Deutsch
https://docs.froxlor.org/latest/admin-guide/configuration/php-fpm/