Jump to content
Froxlor Forum

All Activity

This stream auto-updates

  1. Today
  2. You can safely leave it there, it will be part./ of the next update anyway
  3. Btw. should I remove the adjustment from UpdateCommand.php again or leave it there?
  4. 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.
  5. 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)
  6. 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?
  7. 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
  8. 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 😕
  9. 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')) {
  10. 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?
  11. Yesterday
  12. well you have to change the directory to be in /var/www/html/froxlor (or wherever you've installed froxlor into)
  13. 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
  14. 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
  15. 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?
  16. 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
  17. 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?
  18. Last week
  19. 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...
  20. 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..
  21. Earlier
  22. Okay Vielen Dank erst mal. Ich studier mich mal ein bisschen ein, hoffe finde fĂŒr alles eine Lösung.
  23. Weil das Setup erstmal vom Standard PHP auf deinem System ausgeht, bzw die Version die du bei installation genutzt hast. Wenn das nunmal 8.1 war hat er natĂŒrlich auch 8.1 fĂŒr das fpm Setup genutzt. Kannst du alles nachtrĂ€glich anpassen in den Dom Versions Einstellungen. Denk dran das du aber alle notwendigen Pakete selbst.installieren musst fĂŒr weitere PHP Versionen
  24. Danke jetzt klappt es leider aber mit PHP8.1, habe zwar 8.3 installiert aber konnte es nicht als standard setzen.
  25. Service unavailable heißt wohl das dein php-fpm Dienst nicht lĂ€uft. Und froxlor aufrufen tust du natĂŒrlich mit der Domain die du dafĂŒr bei der Installation angegeben hast. Das der DNS der.domain passt wird vorausgesetzt
  26. Die Installation ist abgeschlossen aber wenn ich jetzt die IP abrufe bekomme ich folgende Meldung: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Habe jetzt fĂŒr froxlor.gerber-web.ch ein DNS Eintrag angelegt scheint aber nicht zu greifen. In der Hosts Datei auf dem Server habe ich auch froxlor hinterlegt..
  27. Hab manuell das Passwort gesetzt fĂŒr Froxroot und fĂŒr den Benutzer froxlor hab ich einfach was eingegeben... Hoffe das wird mir spĂ€ter nicht zum VerhĂ€ngnis.
  28. Es steht alles in der Installationsanleitung. K.a. was du meinst mit irgendeiner F-Taste in jedem Schritt drĂŒcken mĂŒssen.... Folge doch einfach der Anleitung oder schau das Video unter https://youtube.froxlor.org
  29. wieder bei Schritt 1 völlig am Anfang Ich nutze Ubuntu... Ich habe jetzt gemerkt das es an einer F1-F12 Taste lag, muss jetzt aber trotzdem bei jedem Schritt diese wieder betÀtigen ist echt nervig. Momentant hÀng ich jetzt fest bei den Datenbank angaben. Wo genau finde ich das standard password vom Benutzer "froxlor"? oder muss ich noch eins setzen?
  1. Load more activity


×
×
  • Create New...