TL;DR
Create a backup:
pg_dumpall > mybackup.sqlPerform the upgrade:
sudo pg_dropcluster 9.4 main --stop| """ | |
| Setup: | |
| Assuming Odoo 8.0 sources at ~/odoo: | |
| $ cp odoo-sh.py ~/odoo | |
| $ cd ~/odoo | |
| $ python -i odoo-sh.py | |
| Usage example: | |
| >>> env = connect('my-db-name') | |
| >>> Users = env['res.users'] |
| (function serviceDiscoveryExample() { | |
| 'use strict'; | |
| var express = require('express'), | |
| pg = require('pg'), | |
| exec = require('child_process').exec, | |
| app = express(), | |
| port = process.env.PORT || 8000, | |
| username = process.env.PGUSER || 'pg-user', | |
| password = process.env.PGPASSWORD || 'password', | |
| db = process.env.PGDATABASE || 'database', |
TL;DR
Create a backup:
pg_dumpall > mybackup.sqlPerform the upgrade:
sudo pg_dropcluster 9.4 main --stopSupport for CDN has been added to Odoo in master branch.
Just tested with KeyCDN and the setup was straightforward.
##Step 1: Create a pull zone in the KeyCDN dashboard
While creating the zone, enable the CORS option in the advanced features submenu. (more on that later)
| #!/usr/bin/env python | |
| # Adapted from Mark Mandel's implementation | |
| # https://github.com/ansible/ansible/blob/devel/plugins/inventory/vagrant.py | |
| import argparse | |
| import json | |
| import paramiko | |
| import subprocess | |
| import sys | |
Current version of Ansible (1.7.1) does not merge hashes in the include_vars task even if told so via hash_behaviour = merge in your ansible.cfg. ansible/ansible#9116
This action plugin will merge hashes no matter how you have configured your hash_behaviour.
Save include_vars_merged.py to library/plugins/action/include_vars_merged.py
Save include_vars_merged to library/custom/include_vars_merged
| 2014-05-03 12:52:54.919 TRACE cinder Traceback (most recent call last): | |
| 2014-05-03 12:52:54.919 TRACE cinder File "./cinder-api", line 55, in <module> | |
| 2014-05-03 12:52:54.919 TRACE cinder rpc.init(CONF) | |
| 2014-05-03 12:52:54.919 TRACE cinder File "/opt/stack/cinder/cinder/rpc.py", line 63, in init | |
| 2014-05-03 12:52:54.919 TRACE cinder aliases=TRANSPORT_ALIASES) | |
| 2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 183, in get_transport | |
| 2014-05-03 12:52:54.919 TRACE cinder invoke_kwds=kwargs) | |
| 2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__ | |
| 2014-05-03 12:52:54.919 TRACE cinder verify_requirements=verify_requirements, | |
| 2014-05-03 12:52:54.919 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__ |
| # -*- coding: utf-8 -*- | |
| from __future__ import absolute_import | |
| import contextlib | |
| __all__ = ['savepoint', 'create_missing_indexes'] | |
| @contextlib.contextmanager | |
| def savepoint(cr, name, quiet=False): |
| .resize-triggers { | |
| visibility: hidden; | |
| } | |
| .resize-triggers, .resize-triggers > div, .contract-trigger:before { | |
| content: " "; | |
| display: block; | |
| position: absolute; | |
| top: 0; | |
| left: 0; |