Open
Conversation
* Script can now run again and again without corrupting the installation. * Script will install to `/home/odoo/` by default, instead of `/odoo/`, this is best practice, because `/home/odoo` will be backed up on typical servers, and `/odoo` will be restricted or refused access on typical servers. * Script will halt on major errors to more easily locate any errors. * Cleaned up, combined many `apt-get` and `pip` calls into fewer calls. * All output goes to `~/install_log` for easier posting to github for help. * `./install_log` is cleared at the start of each run. * All work (downloads, building the `conf` file and service file) takes place in home dir. * Fixed bug, was creating `addons` dir with ownership of `root`. * Add configurable option to add user `odoo` to group `sudo` or not. * Show proof that service is running at the end of the run. * More to do, (put each step into its own function, and create reverse of each function for uninstaller) but this is a great start.
Install the newest version 0.12.4 (Nov 2016) of WKHTMLtoPDF. Fixes many bugs over the previously used 0.12.1 (released 2014) which is obsolete for years now. https://github.com/wkhtmltopdf/wkhtmltopdf/releases
49724b0 to
31db300
Compare
|
@chris001 Is this 0.12.4 actually already within the script? I took a look at some source and found the version number particularly familiar looking. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Install the newest version 0.12.4 (Nov 2016) of WKHTMLtoPDF.
Fixes many bugs over the previously used 0.12.1 (released 2014) which is obsolete for years now.
https://github.com/wkhtmltopdf/wkhtmltopdf/releases