Problems with migrating from Koha 16.05 to 16.11
Hello All, I have been carefully and regularly updating the koha-common package version on Debian Wheezy 3.2.82-1 x86_64 (and its updates) since Koha version 3.14. Prior to that I ran Koha on the old Windows version (that is now thankfully dead). Now comes Version 16.11. Being an old hand but not being an active programmer, and having years of successful upgrades and builds for my and other libraries I thought, No Problem. Well not so!! I have tried a number of permutations to get this version of Koha built without success. 1) To try a test run I set up an Ubuntu 14.04 LTS system as recommend in the online documentation and selected the old stable option as I would need to migrate my database (in MySQL of course). No joy – received “koha-common : Depends: libgd-perl but it is not going to be installed” at the sudo apt-get install koha-common step. 2) Well, so maybe I should use a fresh install the stable version and see if I can still use MySQL – after all it is still supported in 14.04. But again problems. More dependencies: koha@koha314:~$ sudo apt-get install koha-common Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: koha-common : Depends: libarchive-extract-perl but it is not installable Depends: libgd-perl but it is not installable Depends: libpath-tiny-perl but it is not installable Depends: libsereal-decoder-perl but it is not installable Depends: libsereal-encoder-perl but it is not installable Depends: libwww-youtube-download-perl but it is not installable E: Unable to correct problems, you have held broken packages. Ok So maybe Ubuntu changes too fast for this version of Koha to keep up with. So I’ll try Debian with both 16.05 and 16.11. But again similar problems and not success. Where to now. Try the latest LTS versions of Ubuntu and Debian. Bumpkus – but at least I am persistent. So why this long ramble? First I believe that there need to be some effort in either making 16.11 work in the recommended Ubuntu and Debian releases as documented or put a real effort into updating the Koha code and dependent applications up to date so that a migration from 16.05 (or earlier versions) can be made seamlessly 50 16.11.x without our librarian non-programmers going crazy (and not all of them have tech support). Now put on your flame suits: I have been actively working in a university central computing center for more than 35 years. The discussion recently about mapping Koha library sites and whether the information and whether Marshall’s map program is open source or not started me to doubt the long term stability of the Koha-common project. I even broke my personal rule and commented to the thread (my commends received silence). In order for this effort to succeed problems like the inability to use the package upgrade from previous versions to the newest version without problem must be a priority. Koha is a fabulous application and community. I hate to tell you Chris, but proprietary software seldom has these problems; they depend on the stability of their product for their pay checks. Flame off: Oh Yeah – if anyone has a solution to an in place upgrade to that the Koha database can be carried forward please let all of us who are experiencing problem know. But I am still expecting crickets. Thanks --Dave ------------------------------------------------------------------------------- David L. Whelchel 725 SE Derby Street Pullman, WA 99163 whelchel@pullman.com<mailto:whelchel@pullman.com> http://www.dlwa.com
* David Whelchel (dlwhelchel@outlook.com) wrote:
Hello All,
Hi David Merry Christmas and Happy Holidays to you too
I have been carefully and regularly updating the koha-common package version on Debian Wheezy 3.2.82-1 x86_64 (and its updates) since Koha version 3.14. Prior to that I ran Koha on the old Windows version (that is now thankfully dead). Now comes Version 16.11. Being an old hand but not being an active programmer, and having years of successful upgrades and builds for my and other libraries I thought, No Problem. Well not so!! I have tried a number of permutations to get this version of Koha built without success.
1) To try a test run I set up an Ubuntu 14.04 LTS system as recommend in the online documentation and selected the old stable option as I would need to migrate my database (in MySQL of course). No joy – received “koha-common : Depends: libgd-perl but it is not going to be installed” at the sudo apt-get install koha-common step.
2) Well, so maybe I should use a fresh install the stable version and see if I can still use MySQL – after all it is still supported in 14.04. But again problems. More dependencies:
koha@koha314:~$ sudo apt-get install koha-common Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies koha-common : Depends: libarchive-extract-perl but it is not installable Depends: libgd-perl but it is not installable Depends: libpath-tiny-perl but it is not installable Depends: libsereal-decoder-perl but it is not installable Depends: libsereal-encoder-perl but it is not installable Depends: libwww-youtube-download-perl but it is not installable E: Unable to correct problems, you have held broken packages.
Ok So maybe Ubuntu changes too fast for this version of Koha to keep up with. So I’ll try Debian with both 16.05 and 16.11. But again similar problems and not success.
Where to now. Try the latest LTS versions of Ubuntu and Debian. Bumpkus – but at least I am persistent.
So why this long ramble?
Interestingly enough I have 16.11 running on 3 servers from the packages (all on Debian 8). 2 Upgraded from 16.05, so I am not sure what you have done differently. For the record libgd-perl is packaged for debian Jessie (the latest stable version of Debian (it is also in testing and unstable too of course). https://packages.debian.org/search?keywords=libgd-perl So you must have done something non standard if you can not get it working on debian 8. libgd-perl is in Ubuntu 14.04 too https://packages.debian.org/search?keywords=libgd-perl So again, I am not sure what you did, maybe your sources are set up wrong?
First I believe that there need to be some effort in either making 16.11 work in the recommended Ubuntu and Debian releases as documented or put a real effort into updating the Koha code and dependent applications up to date so that a migration from 16.05 (or earlier versions) can be made seamlessly 50 16.11.x without our librarian non-programmers going crazy (and not all of them have tech support).
Now put on your flame suits:
Here's a tip, if you ever think, oh I should start flaming ... think again.
I have been actively working in a university central computing center for more than 35 years. The discussion recently about mapping Koha library sites and whether the information and whether Marshall’s map program is open source or not started me to doubt the long term stability of the Koha-common project. I even broke my personal rule and commented to the thread (my commends received silence).
In order for this effort to succeed problems like the inability to use the package upgrade from previous versions to the newest version without problem must be a priority. Koha is a fabulous application and community. I hate to tell you Chris, but proprietary software seldom has these problems; they depend on the stability of their product for their pay checks.
Flame off:
While I disagree entirely with your assertion that every proprietary software upgrade is smooth (a 2 second search of the web for things like windows vista would prove the falsehood of that) I do agree it should be as smooth as possible, and people are working on that. However I have done 2 successful upgrades, so I will need to try and recreate your particular set up to see if I can find what you did differently. Having said all that, I do not feel I deserve to be personally attacked like you have just done. I am a person with feelings who has spent 17 years working on Koha, and as far as I am aware this is the first time you have personally mentioned me. The community combined has put in 201 years worth of effort (according to blackduck https://www.openhub.net/p/koha/estimated_cost) with over 300 people having contributed code and many more having contributing time and effort in many other ways. Over 15,000 libraries (rough estimate) have benefitted from this work. There are libraries who have been automated for the first time ever, using Koha. Universities in Nigeria who have been acreditted at higher levels, because they now have automated libraries. People in Vietnam making their livelihood from offering Koha support. The list goes on and on. There is no chance of Koha going away anytime soon, it (from Marshalls own words) is likely the most installed Library system in the world. Far too many people depend on it, and far too many of us will keep working on it, even when we are flamed.
Oh Yeah – if anyone has a solution to an in place upgrade to that the Koha database can be carried forward please let all of us who are experiencing problem know. But I am still expecting crickets.
Putting aside the offense, let's try and figure out why you can install the 16.11 koha-common package I think you need to figure out what is wrong with your apt sources, that you can't install koha-common, as it is working here. Can you paste what your sources are please? Naku noa Na chris
Thanks
--Dave ------------------------------------------------------------------------------- David L. Whelchel 725 SE Derby Street Pullman, WA 99163 whelchel@pullman.com<mailto:whelchel@pullman.com>
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Hi again Further to my last email, I just tested an upgrade of Koha to 16.11.00 on Debian Jessie (8, latest stable) Here is my screencap https://asciinema.org/a/9crqtkdx9d9g5lngoit6aingh (apologies for the pause at the start, I had to help my 7 year old with roblox, it pauses at zsh for a bit, then it should just all start rolling) As you can see it went smooth. Maybe you can screencap what happens with yours so we can figure out what is different Chris
Merry Christmas and A happy New Year Chris, Have fun with the 7 year old I remember those days! Don't get me wrong about the flame - I believe Koha is a superior product and without people like you it would not exist. My intention is highlight a problem I see with the documentation and the necessary transition between versions and ever changing OS permutations. But I will probably continue to think that there is a place for both open and proprietary software (just a bigger smorgasbord to choose from ;->) So here is what I am doing today - put on some good music, get a fresh download of debian-8.6.0-amd64-netinst.iso, follow the instructions on https://wiki.koha-community.org/wiki/Koha_on_Debian using the wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - for the package install and report back my results. I am nothing if I am not persistent. Thanks again Chris for all your hard work I really mean it. --Dave ------------------------------------------------------------------------------- David L. Whelchel 725 SE Derby Street Pullman, WA 99163 whelchel@pullman.com http://library.dlwa.com -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Chris Cormack Sent: Monday, December 26, 2016 6:39 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Problems with migrating from Koha 16.05 to 16.11 Hi again Further to my last email, I just tested an upgrade of Koha to 16.11.00 on Debian Jessie (8, latest stable) Here is my screencap https://asciinema.org/a/9crqtkdx9d9g5lngoit6aingh (apologies for the pause at the start, I had to help my 7 year old with roblox, it pauses at zsh for a bit, then it should just all start rolling) As you can see it went smooth. Maybe you can screencap what happens with yours so we can figure out what is different Chris
Good afternoon Chris, As promised here is my report on the latest permutation of a fresh Koha installation. After reading again the instructions for installing Koha on Debian I discovered that I was referring to an out-of-date document. The Dec 13, 2016 online wiki page was much improved. So here is what I was able to do. 1) installed latest debian-8.6.0-amd64-netinst.iso for my dev system 2) installed and configured Koha 16.05.06.000 from the package distribution 3) exported Koha 16.05.05.000 from production to the dev system 4) re indexed the database to show the items in the catalog 5) ran a number of the saved reports and spot-checked a variety of catalog records and patron entries All appeared to go well with one exception. While the staff web client works on the port 8080, the OPAC public client points to the apache2 "It works!" page. I tried both with the DNS and IP addressing with the same results. I also looked at a number of suggestions on the web about managing the koha.conf and 000xx.conf files. I am sure that there is a difference between the way virtual hosts changed between the old system I am an using in prod and the way apache2 works in the newest Debian. I just don’t have enough experience with this part of the process to make it work. I'll keep digging, but if there is any information on how to properly configure the virtual hosts it would be helpful. Also when I get the dev system OPAC web client working what is the magic to update this system to the 16.11.x branch? Again - Than you Chris for your work on Koha (By the way the music was good ;-) --) --Dave ------------------------------------------------------------------------------- David L. Whelchel 725 SE Derby Street Pullman, WA 99163 whelchel@pullman.com http://library.dlwa.com -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of David Whelchel Sent: Tuesday, December 27, 2016 9:51 AM To: 'Chris Cormack' <chrisc@catalyst.net.nz>; koha@lists.katipo.co.nz Subject: Re: [Koha] Problems with migrating from Koha 16.05 to 16.11 Merry Christmas and A happy New Year Chris, Have fun with the 7 year old I remember those days! Don't get me wrong about the flame - I believe Koha is a superior product and without people like you it would not exist. My intention is highlight a problem I see with the documentation and the necessary transition between versions and ever changing OS permutations. But I will probably continue to think that there is a place for both open and proprietary software (just a bigger smorgasbord to choose from ;->) So here is what I am doing today - put on some good music, get a fresh download of debian-8.6.0-amd64-netinst.iso, follow the instructions on https://wiki.koha-community.org/wiki/Koha_on_Debian using the wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - for the package install and report back my results. I am nothing if I am not persistent. Thanks again Chris for all your hard work I really mean it. --Dave ------------------------------------------------------------------------------- David L. Whelchel 725 SE Derby Street Pullman, WA 99163 whelchel@pullman.com http://library.dlwa.com -----Original Message----- From: Koha [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Chris Cormack Sent: Monday, December 26, 2016 6:39 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Problems with migrating from Koha 16.05 to 16.11 Hi again Further to my last email, I just tested an upgrade of Koha to 16.11.00 on Debian Jessie (8, latest stable) Here is my screencap https://asciinema.org/a/9crqtkdx9d9g5lngoit6aingh (apologies for the pause at the start, I had to help my 7 year old with roblox, it pauses at zsh for a bit, then it should just all start rolling) As you can see it went smooth. Maybe you can screencap what happens with yours so we can figure out what is different Chris _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi David, Il 30/12/2016 00:47, David Whelchel ha scritto:
All appeared to go well with one exception. While the staff web client works on the port 8080, the OPAC public client points to the apache2 "It works!" page. I tried both with the DNS and IP addressing with the same results. I also looked at a number of suggestions on the web about managing the koha.conf and 000xx.conf files. I am sure that there is a difference between the way virtual hosts changed between the old system I am an using in prod and the way apache2 works in the newest Debian. I just don’t have enough experience with this part of the process to make it work. I'll keep digging, but if there is any information on how to properly configure the virtual hosts it would be helpful.
If Koha is the only web application running on the server, the command "sudo a2dissite default" may be a quick fix. The docs to study: http://httpd.apache.org/docs/2.4/vhosts/ Bye Zeno Tajoli -- Zeno Tajoli /SVILUPPO PRODOTTI CINECA/ - Automazione Biblioteche Email: z.tajoli@cineca.it Fax: 051/6132198 *CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)
participants (3)
-
Chris Cormack -
David Whelchel -
Tajoli Zeno