Content
View differences
Updated by Christophe Bliard about 2 years ago
Main installation is using pt-BR languague, when I try to update, give the error below, seems to be a buggy where the argument should be pt-br, but in the system is set as pt only
### Steps to reproduce
1. install OpenProject 13.1 on ubuntu Jammy
1. `sudo wget -O /etc/apt/sources.list.d/openproject.list \` [`https://dl.packager.io/srv/opf/openproject/release/13.1/installer/ubuntu/22.04.repo`](https://dl.packager.io/srv/opf/openproject/release/13.1/installer/ubuntu/22.04.repo)
open console
2. run `openproject configure` and make sure to select "**pt Portuguese**" as language
3. Switch to the OpenProject 14.1 repository
1. `sudo wget -O /etc/apt/sources.list.d/openproject.list` [`https://dl.packager.io/srv/opf/openproject/stable/14/installer/ubuntu/22.04.repo`](https://dl.packager.io/srv/opf/openproject/stable/14/installer/ubuntu/22.04.repo)
4. run [upgrade commands](https://www.openproject.org/docs/installation-and-operations/operation/upgrading/#package-based-installation-debrpm):
`sudo commands
sudo apt-get update`
`sudo update
sudo apt-get install --only-upgrade openproject`
`sudo openproject configure`
sudo openproject configure
### What is the buggy behavior?
_error message:_
message:_
_rake aborted!_
_ArgumentError: Value for default\_language must be one of af, ar, az, be, bg, ca, ckb-IR, cs, da, de, el, en, eo, es, et, eu, fa, fi, fil, fr, he, hi, hr, hu, id, it, ja, ka, kk, ko, lt, lv, mn, ms, ne, nl, no, pl, pt-BR, pt-PT, ro, ru, rw, si, sk, sl, sr, sv, th, tr, uk, uz, vi, zh-CN, zh-TW but is pt (ArgumentError)_
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. Upgrade to the newer version
###
###
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* What distribution? Ubuntu 22.04
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_OpenProject default languague: pt-BR_
### Steps to reproduce
1. install OpenProject 13.1 on ubuntu Jammy
1. `sudo wget -O /etc/apt/sources.list.d/openproject.list \` [`https://dl.packager.io/srv/opf/openproject/release/13.1/installer/ubuntu/22.04.repo`](https://dl.packager.io/srv/opf/openproject/release/13.1/installer/ubuntu/22.04.repo)
3. Switch to the OpenProject 14.1 repository
1. `sudo wget -O /etc/apt/sources.list.d/openproject.list` [`https://dl.packager.io/srv/opf/openproject/stable/14/installer/ubuntu/22.04.repo`](https://dl.packager.io/srv/opf/openproject/stable/14/installer/ubuntu/22.04.repo)
4. run [upgrade commands](https://www.openproject.org/docs/installation-and-operations/operation/upgrading/#package-based-installation-debrpm):
`sudo
sudo
`sudo
sudo
`sudo openproject configure`
sudo openproject configure
_error message:_
_ArgumentError: Value for default\_language must be one of af, ar, az, be, bg, ca, ckb-IR, cs, da, de, el, en, eo, es, et, eu, fa, fi, fil, fr, he, hi, hr, hu, id, it, ja, ka, kk, ko, lt, lv, mn, ms, ne, nl, no, pl, pt-BR, pt-PT, ro, ru, rw, si, sk, sl, sr, sv, th, tr, uk, uz, vi, zh-CN, zh-TW but is pt (ArgumentError)_
_Describe how the application should behave like. Example:_
1. Upgrade to the newer version
###
###
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* What distribution? Ubuntu 22.04
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_OpenProject default languague: pt-BR_