{"action":"created","issue":{"url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/2","repository_url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap","labels_url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/2/comments","events_url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/2/events","html_url":"https://github.com/jancelin/rpi-docker-lizmap/issues/2","id":157374009,"number":2,"title":"Error 500 ","user":{"login":"ncraveia","id":18152708,"avatar_url":"https://avatars.githubusercontent.com/u/18152708?v=3","gravatar_id":"","url":"https://api.github.com/users/ncraveia","html_url":"https://github.com/ncraveia","followers_url":"https://api.github.com/users/ncraveia/followers","following_url":"https://api.github.com/users/ncraveia/following{/other_user}","gists_url":"https://api.github.com/users/ncraveia/gists{/gist_id}","starred_url":"https://api.github.com/users/ncraveia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncraveia/subscriptions","organizations_url":"https://api.github.com/users/ncraveia/orgs","repos_url":"https://api.github.com/users/ncraveia/repos","events_url":"https://api.github.com/users/ncraveia/events{/privacy}","received_events_url":"https://api.github.com/users/ncraveia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-29T07:38:32Z","updated_at":"2016-05-30T07:56:40Z","closed_at":null,"body":"Bonjour,\r\n\r\nRPi 3, Hypriot\r\nJe viens de suivre à la lettre l'installation de Lizmap sur un rpi (https://github.com/jancelin/geo-poppy/wiki/3.-installation-des-services-base-de-donn%C3%A9es-et-websig)\r\n\r\nJ'obtiens une erreur 500 quand j'essaye d'aller sur l'adresse http://\"ip local rpi\"/websig/lizmap/www/admin.php\r\n```\r\n\r\nError 500. A technical error has occured. Sorry for this trouble.\r\nApplication log directory is not writable\r\n```\r\nJ'ai aussi effectué un changement de droit sur le dossier lizmap_var et lizmap_projet en faisant \r\nchown :www-data /home/lizmap_var -R\r\nchown :www-data /home/lizmap_project -R\r\nchmod 775 /home/lizmap_var -R\r\n\r\nmais cela ne change rien, il y a toujours l'error 500\r\n\r\nje viens de voir aussi qu'il y a une difference entre[ Rpi-docker-lizmap](https://github.com/jancelin/rpi-docker-lizmap) et le lien d'explication de [geopoppy](https://github.com/jancelin/geo-poppy/wiki/3.-installation-des-services-base-de-donn%C3%A9es-et-websig) pourquoi ?\r\nJe signal le problème pour essayer de trouver une solution et améliorer la notice\r\n"},"comment":{"url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/comments/222434594","html_url":"https://github.com/jancelin/rpi-docker-lizmap/issues/2#issuecomment-222434594","issue_url":"https://api.github.com/repos/jancelin/rpi-docker-lizmap/issues/2","id":222434594,"user":{"login":"jancelin","id":6421175,"avatar_url":"https://avatars.githubusercontent.com/u/6421175?v=3","gravatar_id":"","url":"https://api.github.com/users/jancelin","html_url":"https://github.com/jancelin","followers_url":"https://api.github.com/users/jancelin/followers","following_url":"https://api.github.com/users/jancelin/following{/other_user}","gists_url":"https://api.github.com/users/jancelin/gists{/gist_id}","starred_url":"https://api.github.com/users/jancelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancelin/subscriptions","organizations_url":"https://api.github.com/users/jancelin/orgs","repos_url":"https://api.github.com/users/jancelin/repos","events_url":"https://api.github.com/users/jancelin/events{/privacy}","received_events_url":"https://api.github.com/users/jancelin/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T07:56:40Z","updated_at":"2016-05-30T07:56:40Z","body":"Salut,\r\nIl faudrait tout d'abord vérifier que c'est juste un problème sur la copie du /var ou un problème sur l'image.\r\nLancer un conteneur sans le -v /var:\r\n```docker run --name \"lizmap_temp\" -p 8081:80 -d -t -v /home/votre_dossier_qgis:/home lizmap```\r\net ce rendre sur http://ip:8081/websig/lizmap/www/admin.php pour paramétrer le back-office en rajoutant le dossier /home. cf doc géopoppy : \r\nhttps://cloud.githubusercontent.com/assets/6421175/11306233/e945f342-8fb0-11e5-9906-4010b9398ef1.png\r\nDéjà si ça enregistre correctement là, c'est gagné pour la suite.\r\n\r\nensuite dans un ternimal rentrer dans le conteneur:\r\n```docker exec -it lizmap_temp bash```\r\nfaire une copie du dossier en conservant les droits grâce à  -avr:\r\n```cp -avr /var/www/websig/lizmap/var /home/lizmap_var```\r\nsortir du conteneur pour revenir sur l’hôte:\r\n```exit```\r\net relancer un autre conteneur avec le /var sauvegardé (afin de conserver sa config):\r\n```\r\ndocker run --restart=\"always\" --name \"lizmap\" -p 80:80 -d -t \\\r\n-v /home/votre_dossier_qgis:/home \\\r\n-v /home/votre_dossier_qgis/lizmap_var:/var/www/websig/lizmap/var \\\r\nlizmap\r\n```\r\net ça doit marcher...\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jancelin"}}