Categories

  • 631 Topics
    2k Posts
    G
    @Promenade1037 said in i-doit update from 35 to 36 fails with permissions issues: Answering my own question, I reviewed /var/log/messages and found the following entry: "SELinux is preventing /usr/sbin/php-fpm from write access on the directory /var/www/html." Once I disabled SELinux, the update was able to proceed as usual. That is the worst you can do to fix this problem: turn off security. And worse: disable it and not even set it to permissive mode instead. If the SeLinux labels are not correct anymore, fix the SeLinux labels. Do not disable SeLinux. The installer as well as the instructions for the manual installation set the directory to a writable selinux context. So the first question to ask would be why the labels in your installation don't fit anymore?
  • 4k Topics
    16k Posts
    LFischerL
    Hey @cherif es bleibt merkwürdig... Hattest du meine letzte Nachrichgt gesehen? Hast du einen Command, der den Login voraussetzt? Nur in diesem Kontext werden die Module durchlaufen. Ich habe einen Stack-Trace bis zu der Stelle angefertigt. In isys_module_manager->module_loader() werden alle installierte / aktive Add-ons durchlaufen. .../idoit/src/classes/core/isys_application.class.php (320) isys_module_manager -> module_loader() .../idoit/src/idoit/Console/Command/AbstractCommand.php (177) isys_application -> bootstrap() .../idoit/src/idoit/Console/Command/AbstractCommand.php (280) idoit\Console\Command\AbstractCommand -> rerunModuleLoader() .../idoit/src/idoit/Console/Subscriber/CommandEvents.php (85) idoit\Console\Command\AbstractCommand -> login() .../idoit/vendor/symfony/event-dispatcher/EventDispatcher.php (220) idoit\Console\Subscriber\CommandEvents -> onCommandStart() .../idoit/vendor/symfony/event-dispatcher/EventDispatcher.php (56) Symfony\Component\EventDispatcher\EventDispatcher -> callListeners() .../idoit/vendor/symfony/console/Application.php (1118) Symfony\Component\EventDispatcher\EventDispatcher -> dispatch() .../idoit/vendor/symfony/console/Application.php (324) Symfony\Component\Console\Application -> doRunCommand() .../idoit/vendor/symfony/console/Application.php (175) Symfony\Component\Console\Application -> doRun() .../idoit/console.php (26) Symfony\Component\Console\Application -> run() Möglicherweise unterscheiden sich die Zeilen bei deiner Instanz. Sollte das alles nicht helfen kannst du natürlich innerhalb der execute() Methode deines Commands einfach händisch die init.php includieren. Das sollte aber eigentlich nicht nötig sein Viele Grüße Leo