Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #35861
      Cloud Team
      Teilnehmer

        After a successfull migration from OTRS with a Otobo docker installation , unfortunately all tickets return an Internal Server Error until I manualy change the folder Article permissions to 777

        The setpermission won’t run as otobo user and we cannot switch to root with su – because the root password of the container is unknown.

        Is there a solution for this as we would have have the permission set proprely rather than broadly like this :)

      • #35863
        Cloud Team
        Teilnehmer

          Looks like the script is not completely adapted for containerization.

          The line

          sub Run {

          if ( $> != 0 ) { # $EFFECTIVE_USER_ID
          print STDERR „ERROR: Please run this script as superuser (root).\n“;

          exit 1;
          }

          Search for the ID of the user but oboto user is 1000 hence the script wont run.

          You just need to remove the exit 1; or change the line $>!=0 to $>!=1000

           

      Ansicht von 1 Antwort-Thema
      • Du musst angemeldet sein, um auf dieses Thema antworten zu können.