luceos yes, I'm aware of that, and I had disabled proc_open due to my security concerns.
Is there a way to use this extension without enabling proc_open then or do you think enabling proc_open is safe?
When I enable proc_open, the queue appears active in the dashboard, but I can’t check for updates via Composer.
https://forum.removed.org/api/extension-manager/check-for-updates
{"errors":[{"status":"405","code":"method_not_allowed"}]}
The issues started after I installed this extension, but I'm not sure if the problems are related to this extension
[2024-10-24 11:29:02] flarum.ERROR: Error: Call to undefined function Symfony\Component\Process\proc_get_status() in /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/process/Process.php:1346
Stack trace:
#0 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/process/Process.php(368): Symfony\Component\Process\Process->updateStatus()
#1 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/process/Process.php(253): Symfony\Component\Process\Process->start()
#2 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Scheduling/Event.php(227): Symfony\Component\Process\Process->run()
#3 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Scheduling/Event.php(201): Illuminate\Console\Scheduling\Event->runCommandInForeground()
#4 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Scheduling/ScheduleRunCommand.php(143): Illuminate\Console\Scheduling\Event->run()
#5 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Scheduling/ScheduleRunCommand.php(102): Illuminate\Console\Scheduling\ScheduleRunCommand->runEvent()
#6 /var/www/vhosts/removed.org/forum.removed.org/vendor/flarum/core/src/Foundation/Console/ScheduleRunCommand.php(39): Illuminate\Console\Scheduling\ScheduleRunCommand->handle()
#7 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/container/BoundMethod.php(36): Flarum\Foundation\Console\ScheduleRunCommand->handle()
#8 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#10 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#11 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#12 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Command.php(136): Illuminate\Container\Container->call()
#13 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute()
#14 /var/www/vhosts/removed.org/forum.removed.org/vendor/illuminate/console/Command.php(120): Symfony\Component\Console\Command\Command->run()
#15 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/console/Application.php(1058): Illuminate\Console\Command->run()
#16 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#17 /var/www/vhosts/removed.org/forum.removed.org/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#18 /var/www/vhosts/removed.org/forum.removed.org/vendor/flarum/core/src/Console/Server.php(42): Symfony\Component\Console\Application->run()
#19 /var/www/vhosts/removed.org/forum.removed.org/flarum(24): Flarum\Console\Server->listen()
#20 {main}
Edit: I have removed proc_get_status
from the disable_functions
list, and now it seems like I can check for updates through the Extension Manager.
Edit 2: The Extension Manager has stopped giving errors, and I even updated a extension.
However, now I can't clear the cache from the admin panel. I didn't experience any issues when clearing the cache via SSH.
{"errors":[{"status":"405","code":"method_not_allowed"}]}
Latest Update: For now, I’ve restored the entire system to a backup due to numerous issues arising, as removing the extension or even downgrading Flarum didn’t work. Thank you for your help.
Last Latest Update: I’m starting to think this issue is related to the 1.8.8 version.
I reverted to a backup using version 1.8.7, and I didn’t install any new extensions. Clearing the cache was working. I updated through the Extension Manager, but clearing the cache is no longer working.