[Bug 19286] New: Error while upgrading language
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 Bug ID: 19286 Summary: Error while upgrading language Change sponsored?: --- Product: Koha Version: 16.11 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: koha-bugs@lists.koha-community.org Reporter: costalc@gmail.com QA Contact: testopia@bugs.koha-community.org I have upgraded Koha from 16.06 to 16.11. All worked fine except language translation (spanish es-ES). Command line echoes this message: Error: the selected language is already installed. Try --update if you want to re-install it. I tried koha-translate --update es-ES but it fails I tried koha-translate --remove es-ES but it fails I tried koha-translate --install es-ES but it fails -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #2 from Claudio <costalc@gmail.com> --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #3 from Claudio <costalc@gmail.com> --- My Koha installation has 3 instances, all of them have run in spanish for years with no problem. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #5 from Claudio <costalc@gmail.com> --- Created attachment 67035 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67035&action=edit es-ES translation error -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #6 from Claudio <costalc@gmail.com> --- es-ES filesystems were deleted while upgrading!! Please see file attached. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- What's the output of I tried koha-translate --install es-ES? Is there any error message? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #8 from Claudio <costalc@gmail.com> --- 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Please have a bit of patience - we might not be able to resolve this during the weekend. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #10 from Claudio <costalc@gmail.com> --- I understand... thanks Katrin -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #11 from Tomás Cohen Arazi <tomascohen@gmail.com> --- 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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #12 from Tomás Cohen Arazi <tomascohen@gmail.com> --- 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! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thx Tomas! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #14 from Claudio <costalc@gmail.com> --- (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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 --- Comment #15 from Claudio <costalc@gmail.com> --- 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!! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19286 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|NEW |RESOLVED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org