Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    CLI report-export scheitert mit Fehler: Not allowed to execute

    Scheduled Pinned Locked Moved Betrieb
    3 Posts 2 Posters 116 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      peipert
      last edited by

      Ich versuche einen Report als CSV-Datei zu exportieren bekomme aber einen Rechtesystemfehler:

      Rechtesystem Fehler:Not allowed to execute: idoit\Module\Report\Console\Command\ReportExportCommand
      You'll need the right COMMAND/reportexportcommand in order to execute the command.
      

      Der Befehl ist folgender:

      sudo -u www-data php console.php report-export -r 27 -d /var/www/i-doit -f reportExportDatei -u admin -p *****
      

      Unter Rechtesystem->Rechtevergabe->Report Manager hat der Nutzer für alle Reports Administratorenrechte.
      Gibt es noch eine andere Stelle, wo ich den report-export erlauben muss?

      Vielen Dank für Hilfe
      Peter

      Michael HuhnM 1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn @peipert
        last edited by

        Hallo @peipert,

        die Fehlermeldung You'll need the right COMMAND/reportexportcommand in order to execute the command.
        besagt, dass du keine Rechte hast diesen Command auszuführen.

        Somit musst du dem Benutzer das Recht geben den Consolen Command auszuführen.
        8333bfff-54bf-41af-83de-5520f1117287-image.png

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          peipert @Michael Huhn
          last edited by

          @michael-overkamp
          Super, das war genau das was fehlte. Vielen Dank

          1 Reply Last reply Reply Quote 0
          • First post
            Last post