Upgrade Odoo V12 --> V15 (CE) - python-3.x

Currently, I'm using Odoo 12 community version on my local system now I want to upgrade from Odoo 12.0 to Odoo 15.0 (CE).
I tried online but it's asking Enterprise subscription code.
When I tried with command as given below giving me following error.
python3.7 <(curl -s https://upgrade.odoo.com/upgrade) test -d -t 15.0
Unable to get the subscription code of your database.
Your database must be registered to be eligible for an upgrade.
Anyone, please help me, I would be very thankful.
Thank You

Follow the steps described in Running the migration.
For versions earlier than 14.0, you will need to run the OpenUpgrade fork rather than Odoo itself.
First, you will need to upgrade from 12 to 13
Or, for older versions: check out the OpenUpgrade source code from Github for the branches you need. Each branch migrates to its version from the previous version, so branch 13.0 migrates from 12.0 to 13.0. If you are migrating across multiple versions, you need to run each version of OpenUpgrade in order. Skipping versions is not supported.The OpenUpgrade repository includes both openupgrade_framework and openupgrade_scripts:https://github.com/OCA/openupgrade
Edit the configuration files and command line parameters to point to the database you are going to upgrade. The recommended command line parameters are the:
--update all --stop-after-init --load=base,web,openupgrade_framework flags.
For versions earlier than 14.0 that are running the OpenUpgrade fork rather than Odoo itself, you do not pass the load parameter.
Edit:
Check the OCA Days 2021 - Raúl Ortiz: Open Upgrade Discussion for more details.

Upgrade feature is available only for the Odoo Enterprise customers. You can try https://github.com/OCA/OpenUpgrade or convert your Odoo version to Enterprise

Related

Apache version upgrade issue

At present we are on Apache/2.2.15 (UNIX) version. To fix the vulnerabilities we are suggested to upgrade to new version. I got new version from online using "wget" command and followed steps mentioned on this link http://httpd.apache.org/docs/2.2/install.html#download.
Once I am done, checked version using httpd -v. It gives me old version Apache/2.2.15 (UNIX). If I check using /usr/local/apache2/bin/httpd - v. It gives me new version. Did I successfully upgraded the version or not? If not what should I do?
I tried "yum install httpd" - It says "Nothing to do".
You now have two versions of Apache installed. You have the one installed with the system package manager (yum) in /usr/sbin/httpd. You have one installed manually in /usr/local/apache2/....
Which one you get will be determined entirely by which path you use.
In general, mixing system-managed packages with manually installed packages is a recipe for trouble. If you want to stick with the newer version in /usr/local, you should remove the system version, and realize that you will lose some manageability. For example, you will no longer be able to use yum install ... to install new Apache modules, and you will not be able to verify the installed files using tools like rpmverify.
If your distribution currently has Apache 2.2.x, that suggests your distribution is fairly old. For example, RHEL (and CentOS) 7 (and similar variants) have version 2.4.6 packaged, so you may want to update your host to something newer than whatever you're running now.
Yes, its successfully upgraded as per the screenshot.
httpd 2.2.15 is the version with RHEL 6 repository, here HTTPD_HOME is /etc/httpd (Highest version provided for HTTPD via RPM RHEL 6 is 2.2.15)
httpd 2.4.6 is the version with EPEL-HTTPD24 repository, here HTTPD_HOME is /usr/local/apache2/

Postgres Update - version mismatch error when running commands

I recently updated Postgres from version 9.3 to 9.6. After the update all of my commands (such as pg_dumpall) all point to version 9.3. I get the error of version mismatch.
I found that if I change my symlink in /usr/bin to point to 9.6 it seems to work. Is there a better way to point my commands to version 9.6? Thanks you for your help!
The best way to do it is using the package manager of your linux distro: it ensures all symlinks are changed to the newer version.
From your question it is possible to infer that the upgrade was done without using the package manager. I suggest to try to install Postgres with the package manager or give a little more information about your system so we can give you a more accurate answer.

Upgrading GitLab 6.2 > 7.9 easily

It is possible to upgrade easily from 6.2 > the latest stable version? Seems like you cannot skip versions, and have to upgrade as 6.3 > 6.4 > 6.5 etc..
This seems like a massive task!
We considered installing a separate VM with the latest version on running alongside, and cloning repo > new repo.
You can certainly skip most versions. Though there are only documented steps for certain jumps. You should be fine in your case though.
For source installs: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/6.x-or-7.x-to-7.14.md
Once you have updated to the 7.14 you can switch to using the omnibus packages to make upgrading easier going forward:
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/update/README.md#upgrading-from-a-non-omnibus-installation-to-an-omnibus-installation
And then you will be able to upgrade to the latest stable which is 8.0.
Alternatively if you want to stick with the source install you can do the following after getting to 7.14: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/7.14-to-8.0.md

Uninstalling the Previous version of application installed: Installshield

I am working on Install shield 2013 Pro (Licensed version).
I created one installer(Version 1.00.000) which will install driver for wireless network adapter .
Now i need to create an installer (Version 2.00.000) which must 'Uninstall Previous version ' installed in the PC.
I read sme forum which uses upgrade code for Uninstalling the version but could'nt get enough idea on this.
Can i get a well explained solution for this. Please help me in solving this issue.
Thanks in advance
The upgrade is done with the help of the upgradecode. This code must be the same for all product versions. This way Windows Installer can see two products are from the same family. The support from Windows Installer for controlling updates it also allows you to install allows you to decide the order of the upgrades, i.e. you can choose to first remove the old version and then install the new one, or to first install the new one and them remove the old version.
When doing upgrade you should also be careful on the package language and install type (per-user or per-machine). Windows Installer does not remove an older version if the install language or type is different from the one of the new version that is being installed.

Trouble upgrading gitlab from 4.0.1 to 6

When upgrading my very old version of gitlab(4.0.1) to 6.0, after running the rails migrate script, the gitlabhq_production database just gets wiped out, leaving only tables, but no data in them. The command I am using is:
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
I thought of checking out the upgrade scripts from every major revision and running them, but I figured this would be handled directly in the most recent script. Before running the above script, I also made sure I created a git user(both in db and on the OS), and reassigned table ownership to the git user.
Does anyone have any tips on how this could be solved?
It is best to:
restore your database (assuming you did a backup before attempting the migration)
follow the migration guides from 4.2 to 5.0, and then from 5.0 to 5.X, then 6.0
The most recent scripts will be able to automate the upgrade process only from 6.x to 6.y.

Resources