{"action":"created","issue":{"url":"https://api.github.com/repos/turnkeylinux/tracker/issues/374","labels_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/374/comments","events_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/374/events","html_url":"https://github.com/turnkeylinux/tracker/issues/374","id":78589404,"number":374,"title":"New Appliance: Odoo","user":{"login":"l-arnold","id":5673448,"avatar_url":"https://avatars.githubusercontent.com/u/5673448?v=3","gravatar_id":"","url":"https://api.github.com/users/l-arnold","html_url":"https://github.com/l-arnold","followers_url":"https://api.github.com/users/l-arnold/followers","following_url":"https://api.github.com/users/l-arnold/following{/other_user}","gists_url":"https://api.github.com/users/l-arnold/gists{/gist_id}","starred_url":"https://api.github.com/users/l-arnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l-arnold/subscriptions","organizations_url":"https://api.github.com/users/l-arnold/orgs","repos_url":"https://api.github.com/users/l-arnold/repos","events_url":"https://api.github.com/users/l-arnold/events{/privacy}","received_events_url":"https://api.github.com/users/l-arnold/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/turnkeylinux/tracker/labels/new-appliance","name":"new-appliance","color":"fbca04"},{"url":"https://api.github.com/repos/turnkeylinux/tracker/labels/todo","name":"todo","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/turnkeylinux/tracker/milestones/4","html_url":"https://github.com/turnkeylinux/tracker/milestones/14.0","labels_url":"https://api.github.com/repos/turnkeylinux/tracker/milestones/4/labels","id":660809,"number":4,"title":"14.0","description":null,"creator":{"login":"JedMeister","id":818633,"avatar_url":"https://avatars.githubusercontent.com/u/818633?v=3","gravatar_id":"","url":"https://api.github.com/users/JedMeister","html_url":"https://github.com/JedMeister","followers_url":"https://api.github.com/users/JedMeister/followers","following_url":"https://api.github.com/users/JedMeister/following{/other_user}","gists_url":"https://api.github.com/users/JedMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/JedMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedMeister/subscriptions","organizations_url":"https://api.github.com/users/JedMeister/orgs","repos_url":"https://api.github.com/users/JedMeister/repos","events_url":"https://api.github.com/users/JedMeister/events{/privacy}","received_events_url":"https://api.github.com/users/JedMeister/received_events","type":"User","site_admin":false},"open_issues":101,"closed_issues":31,"state":"open","created_at":"2014-05-16T06:37:29Z","updated_at":"2015-06-25T01:16:55Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2015-05-20T16:16:56Z","updated_at":"2015-06-25T05:36:18Z","closed_at":null,"body":"So far so good with Odoo.    (not seeing how to label \"new-appliance\")\r\n\r\n![odoo appliance cropped](https://cloud.githubusercontent.com/assets/5673448/7749492/20040a42-ff8b-11e4-952b-7793e21f403b.jpg)\r\n\r\nISO Available  (long build process)\r\nArranged the http/https routing so that General usage defaults to HTTPS and no ports needed to be called.\r\nOverrode tendency for TKLDEV to use the main structure from LAPP.\r\nNeed to define a new TKLBAM Profile.  \r\nWould like to bring in more Addons by Default\r\nFantastic and easy Migration from other Odoo (manual built).\r\nSeemed that LAPP updated just one file which I was removed anyway to build Apache/Odoo CONF structure properly..\r\n\r\nIssues:\r\n* Would like the Main feed to TKLDEV to be a Package Pull for Odoo rather than Git Clone.\r\n* get some scraps in the console when I start it up, but when I choose \"Advanced\" then \"Back\" they go away.\r\n* ISO Size 1085 so larger than desired 1024 cylinders\r\n* Need to update to Adminer it seems from the threads.\r\n* SSL for Console 12325 dropped w/ hosted domain name\r\n* some lag at startup\r\n\r\nhttps://github.com/l-arnold/tkl-nomadic-odoo.git"},"comment":{"url":"https://api.github.com/repos/turnkeylinux/tracker/issues/comments/115111863","html_url":"https://github.com/turnkeylinux/tracker/issues/374#issuecomment-115111863","issue_url":"https://api.github.com/repos/turnkeylinux/tracker/issues/374","id":115111863,"user":{"login":"JedMeister","id":818633,"avatar_url":"https://avatars.githubusercontent.com/u/818633?v=3","gravatar_id":"","url":"https://api.github.com/users/JedMeister","html_url":"https://github.com/JedMeister","followers_url":"https://api.github.com/users/JedMeister/followers","following_url":"https://api.github.com/users/JedMeister/following{/other_user}","gists_url":"https://api.github.com/users/JedMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/JedMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedMeister/subscriptions","organizations_url":"https://api.github.com/users/JedMeister/orgs","repos_url":"https://api.github.com/users/JedMeister/repos","events_url":"https://api.github.com/users/JedMeister/events{/privacy}","received_events_url":"https://api.github.com/users/JedMeister/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T05:36:17Z","updated_at":"2015-06-25T05:36:17Z","body":"Regarding consulting Mahara, the inithook I was referring to above was the one to connect Odoo to it's DB backend. The bash script that Mahara uses ([here](https://github.com/turnkeylinux-apps/mahara/blob/master/overlay/usr/lib/inithooks/firstboot.d/20regen-mahara-secrets)) leverages the postgresql python inithook to set the Mahara PostgreSQL user and password.\r\n\r\nAs for the admin user setup; using their commandline app (assuming I recall correctly) to update the admin user's password might be the easiest option? Zurmo does that, see [here](https://github.com/turnkeylinux-apps/zurmo/blob/master/overlay/usr/lib/inithooks/bin/zurmo.py); actually it's [lines 66 & 67](https://github.com/turnkeylinux-apps/zurmo/blob/master/overlay/usr/lib/inithooks/bin/zurmo.py#L65-L66) that do the interaction with the commandline app. Note that the admin inithook also needs a bash script to complement it (like [this one in Zurmo](https://github.com/turnkeylinux-apps/zurmo/blob/master/overlay/usr/lib/inithooks/firstboot.d/40zurmo)).\r\n\r\nInithooks require both a `firstboot.d` bash script and a (usually python) bin script. For setting up the Odoo DB you can just write the bash bit (and use the existing `pgsqlconf.py` to do the heavy lifting). For the other parts of the app (usually admin password, perhaps also email and setting domain if (and only if) it needs it) you'll need both bash and (probably) python scripts."}}