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
    A
    Ich habe am Object 76 erfolgreich eine Applikation incl Version angehängt. Die Softwarezuweisung wird in der GUI wie erwartet angezeigt, ein cmdb.category.read liefert { "objID": "76", ... "assigned_version": { "id": "98", "ref_id": "17", "ref_title": "V1.0", ... } } Wenn ich jetzt allerdings den Eintrag gemäß Doku ändern oder löschen möchte, wird die entryId nicht gefunden: { "jsonrpc": "2.0", "method": "cmdb.category.save", "id": 5, "params": { "apikey": "REDACTED", "object": 76, "category": "C__CATG__APPLICATION", "entry": 17, "data": { "assigned_version": "V1.1" } } } liefert die Fehlermeldung 'Invalid parameters: Unable to find entry for id 17. Please ensure that entry is owned by object 76 and has a valid status.' Was ist da faul?