Jump to content
Froxlor Forum

d00p

Administrators
  • Posts

    10317
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by d00p

  1. 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'),
  2. no, weird, i'm not getting that. Is that a totally clean fresh install without any customers / domains / etc. ?
  3. 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'];
  4. I've tested this multiple times...do you login as admin or as customer?
  5. People still use courier? You should switch
  6. Dir fehlen vermutlich PHP Extensions, schau mal in die Webserver error logs, da sollte eigentlich was hilfreiches stehen
  7. 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
  8. nscd brauchst du gar nicht bei libnss-extrausers, lösch und purge den mal weg
  9. just read it all...we've written that for a reason
  10. 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)
  11. At least reconfigure your system-services using https://docs.froxlor.org/latest/admin-guide/cli-scripts/#config-services
  12. third time you are writing this...its been covered in
  13. 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
  14. 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)
  15. 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
  16. 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
  17. Please don't do things like that, you might end up in a broken system
  18. You should see a update process after updating and your first login. What do you see when you login?
  19. https://docs.froxlor.org/latest/admin-guide/configuration/php-fpm/
×
×
  • Create New...