| Summary: | Error while upgrading language | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Claudio Costales <costalc> |
| Component: | Installation and upgrade (command-line installer) | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED WORKSFORME | QA Contact: | Testopia <testopia> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | tomascohen |
| Version: | 16.11 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Crowdfunding committed: | 0 |
| Crowdfunding contact: | Patch complexity: | --- | |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | es-ES translation error | ||
|
Description
Claudio Costales
2017-09-09 19:45:22 UTC
What are the error messages for the other commands? It seems the package commands are not working in kohadevbox, but I could install es-ES fine from koha-shell using those commands: sudo koha-shell instance cd misc/translator perl translate install es-ES Thanks Katrin, I upgraded Koha in a standard way from release 16.06 to release 16.11: sudo apt-get update sudo apt-get install koha-common When the upgrade process finished the command line echoed this message: Error: the selected language is already installed. Try --update if you want to re-install it. Koha now runs only in english and the spanish language in syspref is missing. Sadly I have no more information. My Koha installation has 3 instances, all of them have run in spanish for years with no problem. Try to use the commands I have put down in my post for a workaround so you can get Spanish back to working. We will look into the problem. Created attachment 67035 [details]
es-ES translation error
es-ES filesystems were deleted while upgrading!! Please see file attached. What's the output of I tried koha-translate --install es-ES? Is there any error message? The output was: Error: the selected language is already installed. Try --update if you want to re-install it. **************** Please read comments 5 and 6. Please have a bit of patience - we might not be able to resolve this during the weekend. I understand... thanks Katrin Hi Claudio, I suggest you remove the es-ES translation, using $ sudo koha-translate --remove es-ES Then finish the install process $ apt -f install Then install the translation $ sudo koha-translate --install es-ES Important things to note: - You might had custom stuff that interfered with the process - You might have ran the process from one of the translating directories, and thus interfered with the process (because it would be used and thus non-removable). - The --update option con koha-translate actually removes the translation and then generates it, so it is normal that it get To get it deleted in the process. The question is why it aborted, but we can check it next week. I upgraded myself two servers with 16.05 and 50 instances, to 16.11 last week, so I'm sure it must be environmental. Good luck! Thx Tomas! (In reply to Tomás Cohen Arazi from comment #11) > Hi Claudio, I suggest you remove the es-ES translation, using > > $ sudo koha-translate --remove es-ES Command line output: Error: the selected language is already installed. Try --update if you want to re-install it. > > Then finish the install process > > $ apt -f install > > Then install the translation > > $ sudo koha-translate --install es-ES Command line output: Error: the selected language is already installed. Try --update if you want to re-install it. > > Important things to note: > - You might had custom stuff that interfered with the process What kind of "custom stuff" do you refer to? The instalation is 100% standard. Where should I look for? > - You might have ran the process from one of the translating directories, > and thus interfered with the process (because it would be used and thus > non-removable). I run the process from my user "root" directory > - The --update option con koha-translate actually removes the translation > and then generates it, so it is normal that it get Ok, I understand why it is missing... ****************** Thanks Tomás. Katrin, Tomás I found de error and fixed it. There were 2 directories "es-ES" created under "ccr" and "prog" directories in the OPAC filesystem hierarchy. Both directories were empty. I compared these directories versus a local installation I have in my notebook and decided to delete them. Then I reinstalled es-ES language without problems. All works fine again. I don't know if those directories remains there for legacy reasons but I'm sure that are linked with the install/update process. If you agree I will cancel this bug. Many thanks for your help and commitment!! |