API Addon Installieren - Error: package.json was not found.
-
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.
-
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 294Welche Einstellungen ist da falsch?
-
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. -
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/*.shBei Dir natürlich /var/www/idoit statt /var/www/html/idoit
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