• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü
Ansicht von 6 Antwort-Threads
  • Autor
    Beiträge
    • 6. Dezember 2024 um 15:17 Uhr - Views: 1029 #33570
      AnteIde Marić
      Teilnehmer

        After a successful migration, I got an „Internal Server Error“ in any ticket I entered.

        Docker containers are healthy.

        NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
        otobo-daemon-1 rotheross/otobo:latest-10_1 "/opt/otobo_install/…" daemon 4 hours ago Up About an hour (healthy)
        otobo-db-1 mariadb:10.5 "docker-entrypoint.s…" db 4 hours ago Up 3 hours (healthy) 3306/tcp
        otobo-elastic-1 rotheross/otobo-elasticsearch:latest-10_1 "/bin/tini -- /usr/l…" elastic 4 hours ago Up 3 hours (healthy) 9200/tcp, 9300/tcp
        otobo-redis-1 redis:6.0-alpine "docker-entrypoint.s…" redis 4 hours ago Up 3 hours (healthy) 6379/tcp
        otobo-web-1 rotheross/otobo:latest-10_1 "/opt/otobo_install/…" web 4 hours ago Up 3 hours (healthy) 0.0.0.0:80->5000/tcp

        • Dieses Thema wurde vor 1 Jahr, 8 Monaten von AnteIde Marić geändert.
      • 6. Dezember 2024 um 15:21 Uhr #33571
        AnteIde Marić
        Teilnehmer

          n the log of the otobo-web-1 container I see the following:

        • 11. Dezember 2024 um 8:32 Uhr #33740
          AnteIde Marić
          Teilnehmer

            For testing, I set the directory _/opt/otobo/var/article/2024 and all its subdirectories in the Docker container to 777 permissions:

            chmod -R 777 2024

            After which all the tickets are properly opened.
            At the suggestion of the logs, I tried to run the otobo.SetPermissions.pl script, but I got an error that it should be run as root:

            otobo@b087f8829d05:~/bin$ ./otobo.SetPermissions.pl
            ERROR: Please run this script as superuser (root).

            If I run it as root I get an error that I don’t have permission to run the script:

            [root@otobo-test bin]# docker exec -ti –user root otobo-web-1 /bin/bash
            root@b087f8829d05:/opt/otobo# cd bin
            root@b087f8829d05:/opt/otobo/bin# ./otobo.SetPermissions.pl
            Can’t open perl script „./otobo.SetPermissions.pl“: Permission denied
            I changed the permissions as owner (otobo) inside the container, set it to permission 775 file ./otobo.SetPermissions.pl and ran the script, but now the following errors occur:
            ….
            ERROR: could not change /var/article/2024/06/13/699801 permissions 777 -> 2775: Operation not permitted
            ERROR: could not change /var/article/2024/06/13/699801/file-2 permissions 777 -> 660: Operation not permitted
            ERROR: could not change /var/article/2024/06/13/699801/file-2.content_type permissions 777 -> 660: Operation not permitted
            ERROR: could not change /var/article/2024/06/10 permissions 777 -> 2775: Operation not permitted
            ERROR: could not change /Kernel/Config.under permissions 640 -> 660: Operation not permitted
            ERROR: could not change /Kernel/Config/Files/User permissions 2770 -> 2775: Operation not permitted
            Can’t opendir(/opt/otobo/Kernel/Config/Files/User): Permission denied
            at ./otobo.SetPermissions.pl line 198.
            ERROR: could not change /bin/otobo.SetPermissions.pl permissions 755 -> 770: Operation not permitted
            because root is not the owner of articles and other files listed here.

            I run the script as user otobo but it doesn’t work. It still appears that I ran the script as root:

            . /otobo.SetPermissions.pl –otobo-user=otobo
            and I get the same errors.

            How to run this script? :O

          • 13. Dezember 2024 um 13:54 Uhr #33791
            Stefan Härter
            Teilnehmer

              Hi AnteIde,

              just an idea by myself – are you able to run the script with sudo? (perhaps this doesn’t make any difference, but it may be worth a try).

              Kind regards,
              Stefan

            • 24. Dezember 2024 um 9:05 Uhr #33866
              AnteIde Marić
              Teilnehmer

                Hi,

                Thank you Stefan, but I don’t know the root password of docker container otobo-web-1.

                Can you please help?

              • 19. August 2025 um 9:54 Uhr #35862
                Cloud Team
                Teilnehmer

                  We have exactly the same issue.

                  No way to run the permission script.  I know that in a non docker installation the script runs fine as we were using it when doing OTRS upgrade but within docker I’m a bit stuck.

                  I’ll see if the script can be modified to ignore the root user check

                • 20. August 2025 um 10:05 Uhr #35864
                  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

                • Autor
                  Beiträge
                Ansicht von 6 Antwort-Threads
                • Du musst angemeldet sein, um auf dieses Thema antworten zu können.

                Foren durchsuchen

                Anmeldung

                Anmeldung

                Konto erstellen
                Passwort vergessen?

                Login via Social

                Profil

                Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

                Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

                Letzte Aktivitäten

                • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
                • Dynamische Felder in AgentTicketNote mit ACL verstecken
                • Benachrichtigung „Ticket wurde mir entzogen“ möglich?
                • Statistik Anzahl Tickets pro Agent
                • Docker: Ändern des redis Hosts

                Unternehmen

                Über uns
                Karriere
                Stellenbörse
                Partner werden
                Kontakt
                Newsletter

                OTOBO | Simplify work and create exceptional service experiences.

                Die Source Code Owner und Maintainer hinter OTOBO.

                Software

                Service Management-Plattform
                OTOBO Demo
                OTOBO Download
                OTOBO Dokumentation

                Security-Problem melden:
                security@otobo.org

                Services

                Support-Portal
                Beratung
                Training
                Support
                Managed Services
                Erweiterung
                OTRS Migration
                Partner finden

                Community

                Open Source
                Community Forum
                Mitmachen
                OTOBO Developer
                OTOBO@GitHub

                © 2026 Rother OSS GmbH | All rights reserved.
                • Cookie-Einstellungen
                • Impressum
                • Datenschutz
                • Haftungsausschluss
                Nach oben scrollen Nach oben scrollen Nach oben scrollen