odoo:deployment
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| odoo:deployment [2023/09/30 09:59] – aperez | odoo:deployment [2023/09/30 10:40] (current) – aperez | ||
|---|---|---|---|
| Line 96: | Line 96: | ||
| [[https:// | [[https:// | ||
| + | root@odoo:/ | ||
| + | root@odoo:/ | ||
| + | [+] Running 3/3 | ||
| + | ✔ Network odoo_default | ||
| + | 0.2s | ||
| + | ✔ Container odoo-db-1 | ||
| + | 0.7s | ||
| + | ✔ Container odoo-web-1 | ||
| + | 0.4s | ||
| + | Attaching to odoo-db-1, odoo-web-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | odoo-db-1 | ||
| + | ^CGracefully stopping... (press Ctrl+C again to force) | ||
| + | Aborting on container exit... | ||
| + | [+] Stopping 2/2 | ||
| + | ✔ Container odoo-web-1 | ||
| + | 11.3s | ||
| + | ✔ Container odoo-db-1 | ||
| + | 1.4s | ||
| + | canceled | ||
| + | root@odoo:/ | ||
| + | [+] Running 2/2 | ||
| + | ✔ Container odoo-db-1 | ||
| + | 0.8s | ||
| + | ✔ Container odoo-web-1 | ||
| + | 1.8s | ||
| + | root@odoo:/ | ||
| + | -bash: down: command not found | ||
| + | root@odoo:/ | ||
| + | [+] Running 3/3 | ||
| + | ✔ Container odoo-web-1 | ||
| + | 2.1s | ||
| + | ✔ Container odoo-db-1 | ||
| + | 7.6s | ||
| + | ✔ Network odoo_default | ||
| + | 0.4s | ||
| + | root@odoo:/ | ||
| + | root@odoo: | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree... Done | ||
| + | Reading state information... Done | ||
| + | The following additional packages will be installed: | ||
| + | liblzo2-2 squashfs-tools | ||
| + | Suggested packages: | ||
| + | zenity | kdialog | ||
| + | The following NEW packages will be installed: | ||
| + | liblzo2-2 snapd squashfs-tools | ||
| + | 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | ||
| + | Need to get 15.1 MB of archives. | ||
| + | After this operation, 62.0 MB of additional disk space will be used. | ||
| + | Do you want to continue? [Y/n] y | ||
| + | Get:1 http:// | ||
| + | Get:2 http:// | ||
| + | Get:3 http:// | ||
| + | Fetched 15.1 MB in 18s (823 kB/s) | ||
| + | Selecting previously unselected package liblzo2-2: | ||
| + | (Reading database ... 35560 files and directories currently installed.) | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking liblzo2-2: | ||
| + | Selecting previously unselected package squashfs-tools. | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking squashfs-tools (1:4.5.1-1) ... | ||
| + | Selecting previously unselected package snapd. | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking snapd (2.57.6-1+b5) ... | ||
| + | Setting up liblzo2-2: | ||
| + | Setting up squashfs-tools (1:4.5.1-1) ... | ||
| + | Setting up snapd (2.57.6-1+b5) ... | ||
| + | Created symlink / | ||
| + | / | ||
| + | Created symlink / | ||
| + | / | ||
| + | Created symlink / | ||
| + | / | ||
| + | Created symlink / | ||
| + | / | ||
| + | Created symlink / | ||
| + | / | ||
| + | Unit / | ||
| + | Created symlink / | ||
| + | Created symlink / | ||
| + | Processing triggers for man-db (2.11.2-2) ... | ||
| + | Processing triggers for dbus (1.14.8-2~deb12u1) ... | ||
| + | Processing triggers for mailcap (3.70+nmu1) ... | ||
| + | Processing triggers for libc-bin (2.36-9+deb12u1) ... | ||
| + | root@odoo: | ||
| + | 2023-09-02T19: | ||
| + | Warning: /snap/bin was not found in your $PATH. If you've not restarted your session since you | ||
| + | | ||
| + | | ||
| + | certbot 2.6.0 from Certbot Project (certbot-eff✓) installed | ||
| + | root@odoo: | ||
| + | root@odoo: | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree... Done | ||
| + | Reading state information... Done | ||
| + | The following additional packages will be installed: | ||
| + | nginx-common | ||
| + | Suggested packages: | ||
| + | fcgiwrap nginx-doc ssl-cert | ||
| + | The following NEW packages will be installed: | ||
| + | nginx nginx-common | ||
| + | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | ||
| + | Need to get 640 kB of archives. | ||
| + | After this operation, 1,696 kB of additional disk space will be used. | ||
| + | Do you want to continue? [Y/n] y | ||
| + | Get:1 http:// | ||
| + | Get:2 http:// | ||
| + | Fetched 640 kB in 2s (285 kB/s) | ||
| + | Preconfiguring packages ... | ||
| + | Selecting previously unselected package nginx-common. | ||
| + | (Reading database ... 35664 files and directories currently installed.) | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking nginx-common (1.22.1-9) ... | ||
| + | Selecting previously unselected package nginx. | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking nginx (1.22.1-9) ... | ||
| + | Setting up nginx-common (1.22.1-9) ... | ||
| + | Created symlink / | ||
| + | Setting up nginx (1.22.1-9) ... | ||
| + | Upgrading binary: nginx. | ||
| + | Processing triggers for man-db (2.11.2-2) ... | ||
| + | root@odoo: | ||
| + | root@odoo: | ||
| + | nanorc | ||
| + | root@odoo: | ||
| + | root@odoo: | ||
| + | root@odoo: | ||
| + | upstream ubills-odoo { | ||
| + | | ||
| + | } | ||
| + | upstream ubills-odoochat { | ||
| + | | ||
| + | } | ||
| + | server { | ||
| + | server_name u-bills.com; | ||
| + | proxy_read_timeout 720s; | ||
| + | proxy_connect_timeout 720s; | ||
| + | proxy_send_timeout 720s; | ||
| + | # Add Headers for odoo proxy mode | ||
| + | proxy_set_header X-Forwarded-Host $host; | ||
| + | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| + | proxy_set_header X-Forwarded-Proto $scheme; | ||
| + | proxy_set_header X-Real-IP $remote_addr; | ||
| + | # log | ||
| + | access_log / | ||
| + | error_log / | ||
| + | # Redirect longpoll requests to odoo longpolling port | ||
| + | location / | ||
| + | proxy_pass http:// | ||
| + | } | ||
| + | # Redirect requests to odoo backend server | ||
| + | location / { | ||
| + | proxy_redirect off; | ||
| + | proxy_pass http:// | ||
| + | } | ||
| + | # common gzip | ||
| + | gzip_types text/css text/less text/plain text/xml application/ | ||
| + | gzip on; | ||
| + | listen 80; | ||
| + | } | ||
| + | root@odoo: | ||
| + | nginx: the configuration file / | ||
| + | nginx: configuration file / | ||
| + | root@odoo: | ||
| + | root@odoo: | ||
| + | root@odoo:/ | ||
| + | [+] Running 3/3 | ||
| + | ✔ Network odoo_default | ||
| + | 0.2s | ||
| + | ✔ Container odoo-db-1 | ||
| + | 2.1s | ||
| + | ✔ Container odoo-web-1 | ||
| + | 2.4s | ||
| + | root@odoo:/ | ||
| + | |||
| + | root@odoo:/ | ||
| + | Saving debug log to / | ||
| + | Enter email address (used for urgent renewal and security notices) | ||
| + | | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Please read the Terms of Service at | ||
| + | https:// | ||
| + | agree in order to register with the ACME server. Do you agree? | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | (Y)es/(N)o: y | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Would you be willing, once your first certificate is successfully issued, to | ||
| + | share your email address with the Electronic Frontier Foundation, a founding | ||
| + | partner of the Let's Encrypt project and the non-profit organization that | ||
| + | develops Certbot? We'd like to send you email about our work encrypting the web, | ||
| + | EFF news, campaigns, and ways to support digital freedom. | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | (Y)es/(N)o: y | ||
| + | Account registered. | ||
| + | Which names would you like to activate HTTPS for? | ||
| + | We recommend selecting either all domains, or all domains in a VirtualHost/ | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | 1: u-bills.com | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Select the appropriate numbers separated by commas and/or spaces, or leave input | ||
| + | blank to select all options shown (Enter ' | ||
| + | Requesting a certificate for u-bills.com | ||
| + | Successfully received certificate. | ||
| + | Certificate is saved at: / | ||
| + | Key is saved at: / | ||
| + | This certificate expires on 2023-12-01. | ||
| + | These files will be updated when the certificate renews. | ||
| + | Certbot has set up a scheduled task to automatically renew this certificate in the background. | ||
| + | Deploying certificate | ||
| + | Successfully deployed certificate for u-bills.com to / | ||
| + | Congratulations! You have successfully enabled HTTPS on https:// | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | If you like Certbot, please consider supporting our work by: | ||
| + | * Donating to ISRG / Let's Encrypt: | ||
| + | * Donating to EFF: https:// | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | root@odoo:/ | ||
| + | |||
| + | root@odoo:/ | ||
| + | Saving debug log to / | ||
| + | Enter email address (used for urgent renewal and security notices) | ||
| + | | ||
| + | | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Please read the Terms of Service at | ||
| + | https:// | ||
| + | agree in order to register with the ACME server. Do you agree? | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | (Y)es/(N)o: y | ||
| + | | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Would you be willing, once your first certificate is successfully issued, to | ||
| + | share your email address with the Electronic Frontier Foundation, a founding | ||
| + | partner of the Let's Encrypt project and the non-profit organization that | ||
| + | develops Certbot? We'd like to send you email about our work encrypting the web, | ||
| + | EFF news, campaigns, and ways to support digital freedom. | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | (Y)es/(N)o: y | ||
| + | Account registered. | ||
| + | | ||
| + | Which names would you like to activate HTTPS for? | ||
| + | We recommend selecting either all domains, or all domains in a VirtualHost/ | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | 1: u-bills.com | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Select the appropriate numbers separated by commas and/or spaces, or leave input | ||
| + | blank to select all options shown (Enter ' | ||
| + | Requesting a certificate for u-bills.com | ||
| + | | ||
| + | Successfully received certificate. | ||
| + | Certificate is saved at: / | ||
| + | Key is saved at: / | ||
| + | This certificate expires on 2023-12-01. | ||
| + | These files will be updated when the certificate renews. | ||
| + | Certbot has set up a scheduled task to automatically renew this certificate in the background. | ||
| + | | ||
| + | Deploying certificate | ||
| + | Successfully deployed certificate for u-bills.com to / | ||
| + | Congratulations! You have successfully enabled HTTPS on https:// | ||
| + | | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | If you like Certbot, please consider supporting our work by: | ||
| + | * Donating to ISRG / Let's Encrypt: | ||
| + | * Donating to EFF: https:// | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | root@odoo:/ | ||
| + | [+] Running 3/3 | ||
odoo/deployment.1696085974.txt.gz · Last modified: 2023/09/30 09:59 by aperez
