Jump to content
Froxlor Forum

All Activity

This stream auto-updates

  1. Today
  2. FileZilla war vor Jahren mal verseucht...irgendwie... aber danke für den Tipp, werde das mal wieder probieren. Der Kunde ist eh vertrauenswürdig, und das ist ein Einzelfall. Bekommt er halt den SFTP-Zugang. Für weiteres hab ich mom keine Zeit. Danke Dir für die Kommunikation vorab. Wenn ich am Verzweifeln bin, melde ich mich wieder... kicher...
  3. Ich benutze für FTP halt auch einen FTP Client (z.B. FileZilla), WinSCP ist für scp (auch wenn man dort andere ports usw. angeben kann klar). Aber mit filezilla - nie probleme. Auch beim hochladen riesiger Mengen Dateien und Daten (auch gerne mal 1- 1 1/2 std) - kein problem
  4. Unstabile Verbindung: in WinSCP bricht die Verbindung ab mit einer Meldung "Verbindung wurde unterbrochen" oder so, Wiederaufbau in 30 Sekunden. Kann auch WinSCP-Einstellungen liegen, ich weiß. Ich habe vor Jahren mal recherchiert zu dem Thema, bin nicht schlüssig fündig geworden. Hast Du das echt noch nicht erlebt? Ich habe mehrere Hoster mit Standard-FTP-Verbindungen erlebt, ist immer das selbe. Die Lösung dieses Problems ist offenbar nicht so trivial. Bei Netcup hab ich u.a. einen Managed Server, dort gehe ich per SFTP rein, aber auch die haben das Problem, dass das nur ohne chroot klappt. So einen Zugang, bzw. einen, der alle 10 Sekunden flöten geht, kann ich nicht an einen Kunden geben. Ok, das Thema ist nun ev. etwas off topic bzgl. Froxlor. Werde mich beizeiten nochmals mit proFTP auseinandersetzen müssen.
  5. Hatte nie probleme mit FTP...mal in die server-logs geschaut? Bzw wie stellt sich denn diese "keine stabile Verbindung" bei dir da? Muss ja nicht zwingend ein serverseitiges Problem sein...
  6. Hm, einen SSH-User mit chroot/jail erstellen möchte ich momentan vermeiden. Wenn was mit der SSH-Config nicht passt, säge ich mir nämlich bei einem fehlerhaften Neustart des SSH-Servers den Ast ab, auf dem ich sitze, und sperre mich selbst aus dem System aus. Mit ProFTP habe ich noch nie eine stabile Verbindung hinbekommen. Warum das nicht möglich ist, entzieht sich auch nach Recherche meiner Kenntnis. SFTP wäre halt das Mittel der Wahl.
  7. Die Shell User sind halt normale User auf dem System. Daher ist das mit Vorsicht zu genießen, die sind in keinem chroot/jail.
  8. Yesterday
  9. Hallo, Ich möchte für einen Kunden einen FTP-User mit SFTP-Zugriff erstellen. Ich habe es schon geschafft, dass in Froxlor bei einem FTP-Account /bin/bash auswählen kann. SFTP-Zugriff per WinSCP funktioniert auch, allerdings nicht beschränkt auf den Ordner, den man bei den FTP-Einstellungen angeben kann. Die anderen Ordner (abseits vom User des FTP-Kontos) sind teils vor Lese-Zugriff geschützt, löschen kann man nichts darin. Aber diese Daten sind eben sichtbar - und auch erreichbar, bis zum kompletten Root-Serverbaum. Wie kann ich den FTP-User per /bin/bash/ auf das angegebene Verzeichnis einschränken? Gibts da von Seiten Froxlor eine Möglichkeit? Grüße aus Wien!
  10. Last week
  11. You can safely leave it there, it will be part./ of the next update anyway
  12. Btw. should I remove the adjustment from UpdateCommand.php again or leave it there?
  13. I simply put too much trust in apt's message of recommending to run apt autoremove Anyway, I ended up manually re-installing php8.1 again and now everything's fine again.
  14. Unlikely, installing an extension does not remove config files... Why would you remove anything without checking whether it's running and in use? You may simpl move the pool config from the 8.1 pool.d config to the 8.3 pool.d directory, restart fpm 8.3, access your froxlor and adjust the form configs there to use 8.3 (maybe stop the crond beforehand so nothing is rebuild in the time)
  15. Yeah, I thought so too. I really only ran apt get php8.3-bz2 at that point (Ubuntu 22), nothing else. apt however automatically restarted some services. Afterwards Froxlor did not work anymore as the PHP-FPM socket was missing. ps aux | grep php-fpm does show PHP-FPM pools running for the various sites configured in Froxlor - but the pool for its control panel seems to be missing. PHP 8.3 was already installed and already used it for sites in Froxlor before, so I don't think anything got replaced. Hm, interesting. When I run froxlor:cron -f -d it wants to restart the php-fpm pool for 8.1, but fails: [information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php8.1-fpm restart Failed to restart php8.1-fpm.service: Unit php8.1-fpm.service is masked. [information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php8.2-fpm restart [information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php8.3-fpm restart [information] Froxlor\Cron\Http\ApacheFcgi::reload: reloading Froxlor\Cron\Http\ApacheFcgi I am guessing Froxlor's system config is still using PHP 8.1 - may be that's the issue. Or at least that's the issue now as during the last apt upgrade PHP 8.1 got actually removed as it was marked as "unused" by apt. Is there a way to automatically restore this?
  16. installing a php extension does not delete any fpm sockets...no idea what you did there... 1) check whether php-fpm is running 2) check where the config for the fpm-pool is located (did you maybe replace php8.x with your php8.3 installation?) and move it the the currently running fpm (it should be displayed when running froxlor:cron -f -d), e.g. [information] Froxlor\Cron\Http\ApacheFcgi::reload: running service php8.3-fpm restart [information] Froxlor\Cron\Http\ApacheFcgi::reload: reloading Froxlor\Cron\Http\ApacheFcgi If that is not php8.3 your settings in froxlor might differ from what you are actually using
  17. But that's the issue, I cannot log in as the PHP-FPM socket for Froxlor's control panel is missing (it was missing since I was installing the bz2 extension). Thx, that helped, I was able to run bin/froxlor-cli froxlor:update --database bin/froxlor-cli froxlor:cron -f -d without any errors now. However, the original issue with the missing PHP-FPM socket still exists: [proxy:error] [pid 46129] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/1-froxlor.panel-froxlor.inspiredminds.at-php-fpm.socket (*) failed /var/lib/apache2/fastcgi/ still has no socket for Froxlor's control panel 😕
  18. if you've updated via apt, just login and let the webui handle the database update. Alternatively, test the following fix: diff --git a/lib/Froxlor/Cli/UpdateCommand.php b/lib/Froxlor/Cli/UpdateCommand.php index d7a255eb..bca38420 100644 --- a/lib/Froxlor/Cli/UpdateCommand.php +++ b/lib/Froxlor/Cli/UpdateCommand.php @@ -58,6 +58,7 @@ final class UpdateCommand extends CliCommand if ($input->getOption('database')) { $result = $this->validateRequirements($output, true); if ($result == self::SUCCESS) { + require Froxlor::getInstallDir() . '/lib/functions.php'; if (Froxlor::hasUpdates() || Froxlor::hasDbUpdates()) { $output->writeln('<info>' . lng('updates.dbupdate_required') . '</>'); if ($input->getOption('check-only')) {
  19. I was installing the `php8.3-bz2` extension on my system as I needed it for a project. During this process various services (including Apache) got restarted and I guess the PHP-FPM sockets got recreated. However, the PHP-FPM socket for Froxlor was missing and thus I could not access Froxlor's admin panel anymore: [proxy:error] [pid 43569] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/1-froxlor.panel-froxlor.example.com-php-fpm.socket (*) failed Since there was an update available for Froxlor I decided to update it (was probably the wrong idea 😉). Froxlor was installed via apt and so I updated it via apt. Afterwards I wanted to run /usr/bin/php8.2 bin/froxlor-cli froxlor:update --database However, I am getting the following error when doing so: # /usr/bin/php8.2 bin/froxlor-cli froxlor:update --database PHP Fatal error: Uncaught Error: Call to undefined function Froxlor\Cli\lng() in /var/www/html/froxlor/lib/Froxlor/Cli/UpdateCommand.php:62 Stack trace: #0 /var/www/html/froxlor/vendor/symfony/console/Command/Command.php(298): Froxlor\Cli\UpdateCommand->execute() #1 /var/www/html/froxlor/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run() #2 /var/www/html/froxlor/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand() #3 /var/www/html/froxlor/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #4 /var/www/html/froxlor/bin/froxlor-cli(71): Symfony\Component\Console\Application->run() #5 {main} thrown in /var/www/html/froxlor/lib/Froxlor/Cli/UpdateCommand.php on line 62 Forcing the cron to run results in the following message: # /usr/bin/php8.2 bin/froxlor-cli froxlor:cron -f -d It seems that the froxlor files have been updated. Please login and finish the update procedure. So I am now stuck unfortunately. As far as I understand it the Cronjob would normally recreate the PHP-FPM socket for Froxlor's control panel - but the cronjob cannot run becaus the update needs to be finished. But the update cannot be finished due to the aformentioned error. Does anyone have an idea how to fix this?
  20. well you have to change the directory to be in /var/www/html/froxlor (or wherever you've installed froxlor into)
  21. I have tried bin/froxlor-cli froxlor:switch-server-ip --switch=192.168.0.126,192.168.0.140 and here is what i get back bash: bin/froxlor-cli: No such file or directory
  22. Do you mean your servers ip address, the one that is configured in froxlor? If yes, see https://docs.froxlor.org/latest/admin-guide/cli-scripts/#switch-server-ip
  23. my ip has changed on my wireless and now froxlor only displays the php code. is there a way to change my ip in command line so that i can get the page to come up again?
  24. No, froxlor is just php files. no restarts/reboots required Yeah i'm not happy with the edits if the announcement..but a completely new topic every month for small changes is also overload. We will definitely do something more notify-y with 2.2
  25. Referring to the 2.1.9 update: Does it require a restart / reboot (of MySQL)? I will anyway, because there is another glibc security bug released today for Debian: [DSA 5678-1] glibc security update. I hadn't yet subscribed to Github's security announcments, but because I don't see one here, it won't be there until May 10th? Is it perhaps an idea to have a forum topic that people can subscribe to that gets comment-updates (which trigger a notification, unlike an edit) for security updates?
  26. Earlier
  27. Without any more information regarding your setup, what domain is used, whether the IPs are correct, what has been done exactly, etc.etc.etc there is not much I can tell you here...
  28. I get the same error and froxlor folder is at /var/www/html this is my second try and I end up at a 404 page as before..
  29. Okay Vielen Dank erst mal. Ich studier mich mal ein bisschen ein, hoffe finde für alles eine Lösung.
  1. Load more activity


×
×
  • Create New...