{"action":"created","issue":{"url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/45","labels_url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/45/comments","events_url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/45/events","html_url":"https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/45","id":67945658,"number":45,"title":"Installer","user":{"login":"silvanmelchior","id":6033305,"avatar_url":"https://avatars.githubusercontent.com/u/6033305?v=3","gravatar_id":"","url":"https://api.github.com/users/silvanmelchior","html_url":"https://github.com/silvanmelchior","followers_url":"https://api.github.com/users/silvanmelchior/followers","following_url":"https://api.github.com/users/silvanmelchior/following{/other_user}","gists_url":"https://api.github.com/users/silvanmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/silvanmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvanmelchior/subscriptions","organizations_url":"https://api.github.com/users/silvanmelchior/orgs","repos_url":"https://api.github.com/users/silvanmelchior/repos","events_url":"https://api.github.com/users/silvanmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/silvanmelchior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T19:17:45Z","updated_at":"2015-04-12T19:53:29Z","closed_at":null,"body":"Sorry, I merged the three issues into one :).\r\n\r\nI have a few suggestions for an improved installer:\r\n\r\n- It installs the webfiles into /var/www/camera per default, but this can be changed with the shell-variable\r\n- It makes a backup of the apache config-files, than manipulates the existing files for the web interface\r\n- It creates a start/stop/restart-script in /etc/rc2.d instead of using /etc/rc.local\r\n\r\nBut there are a few more questions:\r\n- What happens mith the motion config-file?\r\n- How can we add an update-function that keeps the user-config? Maybe with a git-merge or something like that\r\n- How is the upgrade from an old installation to the one with the new installer?"},"comment":{"url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/comments/92108989","html_url":"https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/45#issuecomment-92108989","issue_url":"https://api.github.com/repos/silvanmelchior/RPi_Cam_Web_Interface/issues/45","id":92108989,"user":{"login":"roberttidey","id":1246549,"avatar_url":"https://avatars.githubusercontent.com/u/1246549?v=3","gravatar_id":"","url":"https://api.github.com/users/roberttidey","html_url":"https://github.com/roberttidey","followers_url":"https://api.github.com/users/roberttidey/followers","following_url":"https://api.github.com/users/roberttidey/following{/other_user}","gists_url":"https://api.github.com/users/roberttidey/gists{/gist_id}","starred_url":"https://api.github.com/users/roberttidey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roberttidey/subscriptions","organizations_url":"https://api.github.com/users/roberttidey/orgs","repos_url":"https://api.github.com/users/roberttidey/repos","events_url":"https://api.github.com/users/roberttidey/events{/privacy}","received_events_url":"https://api.github.com/users/roberttidey/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T19:53:29Z","updated_at":"2015-04-12T19:53:29Z","body":"Maybe a echo / read for subfolder on the install, default blank installs in /var/www? Maybe It could set a variable to picked up as default for updates.\r\n\r\nApache and /etc/rc2 sound good\r\n\r\nI have the update verb instead of install in the script which leaves all configs alone but installs new code. motion should be Ok with that as format is not changing. schedule.json just gets left alone anyway and schedule.php tries to merge changes introduced and refresh it. Main issue then is with raspimjpeg if new variables are introduced."}}