Posts

Showing posts from 2023

Complete Guide to Installing Odoo 17 on Digital Ocean with Ubuntu 22.04

Odoo 17 installation on Digital Ocean with Ubuntu 22.04 Detailed Guide to Installing Odoo 17 on a Digital Ocean Ubuntu 22.04 Drople t Odoo is a comprehensive and flexible open-source business management software suite that includes a wide range of applications. This guide provides a detailed, step-by-step tutorial on installing Odoo 17 on a Digital Ocean droplet running Ubuntu 22.04. Prerequisites Before starting the installation process, ensure you have the following prerequisites: - A Digital Ocean account. - A droplet running Ubuntu 22.04. - Access to the server via SSH. - Basic knowledge of the command line. Step-by-Step Installation Step 1: Create an Ubuntu 22.04 Droplet 1. **Log in to Digital Ocean** and create a new droplet with Ubuntu 22.04 as the operating system. 2. **Choose the droplet specifications** based on your company's size and requirements. For Odoo, a droplet with at least 2GB of RAM is recommended. 3. **Set the authentication method** to a password and ensure ...

Odoo 17 - large database restore error

Odoo 17 Large Database Restore Error -  413 Request Entity Too Large While grappling with a perplexing '413 REQUEST ENTITY TOO LARGE' error during the restoration of a sizable database backup onto an existing server, the common reflex was to scrutinize the nginx configuration file. However, the root cause proved elusive, as the same issue persisted when loading Odoo with an IP and port. Before you jump to the standard advice of adjusting 'client_max_body_size' in your nginx configuration, bear with me, because this situation is peculiar and unrelated to nginx or Apache. In an unexpected twist, the solution resided not in the nginx configuration but in the Odoo configuration file (/etc/odoo/odoo.conf). The key was to add a parameter with a significantly higher value: [options] web.max_file_upload_size = Surprisingly, 'web.max_file_upload_size' couldn't be overridden via the odoo.conf file. However, a breakthrough came when I edited line number 235 in 'odo...

Whhtmltopdf error

Whhtmltopdf issue in odoo. Error Message : wkhtmltopdf: b"The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored Solution: ##Remove wkhtmltopdf if it is already installed. sudo apt remove wkhtmltopdf cd ~ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz tar xvf wkhtmltox*.tar.xz sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig For more insights and professional Odoo Community/Enterprise implementations, connect with us at hashcodeit.com or drop an email at info@hashcodeit.com, +971545975212.  Transform your Odoo journey with precision and expertise!

github - bit bucket mirroring

  Requirement:   We have a project deployed using version controller github and need the same code in bitbucket with commit history and both repositories should be in synchronized as there is continuous deployment # Clone the git repository that you want to merge to the bitbucket repository branch git clone git@github.com:<github_user_name>/<github_repo_name>.git # Rename origin to github git remote rename origin github #Add the bitbucket as a remote to the cloned repository. Replace<bitbucket_repo_url> with the URL of the bitbucket. git remote add bit <bitbucket_repo_url> #Fetch the branches and commits from the bitbucket git fetch bit #checkout to the bitbucket branch, git checkout bit #Attempt to merge the github into the bitbucket. Use the --allow-unrelated-histories flag to force Git to merge the unrelated histories. git merge --allow-unrelated-histories bit/<branch_name> #Resolve any merge conflicts and commit the changes and push the merged...