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

    API Addon Installieren - Error: package.json was not found.

    Scheduled Pinned Locked Moved Betrieb
    4 Posts 2 Posters 515 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.
    • F Offline
      frafu
      last edited by

      Ich hab eine frische i-doit Installion. Ich möchte das API Addon Installieren.
      Wenn ich idoit-api-1.12.1.zip versuche zu installieren, bekomme ich den Fehler:
      "Error: packa.json was not found."
      Wenn ich das zip File entpacker, ist das sehr wohl drinnen.

      9d3a680c-cd31-4366-934d-22b13defa278-image.png

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        frafu @frafu
        last edited by

        Hab im php error log etwas gefunden:

        PHP Warning:  ZipArchive::extractTo(/var/www/idoit//package.json): failed to open stream: Permission denied in /var/www/idoit/updates/classes/isys_update_files.class.php on line 294
        

        Welche Einstellungen ist da falsch?

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          frafu @frafu
          last edited by

          Habe jetzt temporär ein
          chown www-data.www-data /var/www/idoti/ gemacht. Dann hats funktioniert. Aber eigentlich sollte der Upload in das upload Verzeichnis gehen, in welchem www-data schreib Rechte hat.

          MartinVM 1 Reply Last reply Reply Quote 0
          • MartinVM Offline
            MartinV @frafu
            last edited by

            Das ist eigentlich Teil der (manuellen) Installation, z.B. für Debian oder Ubuntu

            cd /var/www/html/i-doit/
            sudo chown www-data:www-data -R .
            sudo find . -type d -name \* -exec chmod 775 {} \;
            sudo find . -type f -exec chmod 664 {} \;
            sudo chmod 774 controller *.sh setup/*.sh
            

            Bei Dir natürlich /var/www/idoit statt /var/www/html/idoit

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post