Re: [Koha] Koha glacially slow
Andrew Parrish schreef op do 05-11-2015 om 18:20 [-0500]:
wow, thanks. I hate to be a bother, but do you think you could point me where to look to find this path that is set incorrectly? Is this a Koha-internal problem or something between apache and koha?
I don't know what it would be without more info. Probably something in the OPAC system preferences. Watching the requests (press shift-F5, select "network" in firefox, probably iceweasel too) should provide big hints about where to look. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
So I've been continuing to poke around tonight and it seems my problem is a long list of 404 errors caused by requesting the visual elements of the Koha installation in a place where they're not. Anyone want to help a script kiddie find the trouble spot? more info: All the 404s being returned are javascript files (or the vast majority anyhow). They are located in usr/share/koha/intranet/htdocs/intranet-tmpl/lib/jquery/plugins. And they are actually there, I checked. Everything, at the least, is located together as far in as intranet-tmpl/ and then branches from there. There's two or three CSS files but mostly .js. Here's a sample request header from the firefox network analyzer: GET /intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js HTTP/1.1 Host: 127.0.1.1:8080 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://127.0.1.1:8080/ Cookie: KohaOpacLanguage=en; CGISESSID=643b0bf39d5c700254b68d8321264d5f Connection: keep-alive Cache-Control: max-age=0 Is this simply a shortened file path or is it somehow missing the first three or four subfolders? Also I am on the staff side in firefox, not the opac side. I'll go figure out the opac later. Thanks so much for your help! -- View this message in context: http://koha.1045719.n5.nabble.com/Koha-glacially-slow-tp5856288p5860357.html Sent from the Koha-general mailing list archive at Nabble.com.
re: Tomas Cohen Arazi: I followed the official instructions: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=INSTALL.debian;hb=... For the most part. I admit I made a pretty hack job of it - I was working from a bunch of different installation guides at once because odd things seemed to keep popping up. For instance this one is the most complete, but I still had to go find a lot of Perl dependencies on my own on CPAN because the ones in the repository are outdated. LATER: Fixed it. The problem was in koha.conf - someone had told me to change the directories in that file to /var/koha/Koha/ instead of /var/koha/Koha/koha-tmpl/ . So I changed it back. It's working perfectly now. Stupid mistake, but you live and you learn. Thanks so much to everyone for your help. -- View this message in context: http://koha.1045719.n5.nabble.com/Koha-glacially-slow-tp5856288p5861236.html Sent from the Koha-general mailing list archive at Nabble.com.
Aparrish schreef op wo 11-11-2015 om 08:13 [-0700]:
re: Tomas Cohen Arazi:
I followed the official instructions: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=INSTALL.debian;hb=...
We need to delete those, they're from 2012 and are super out of date.
For the most part. I admit I made a pretty hack job of it - I was working from a bunch of different installation guides at once because odd things seemed to keep popping up. For instance this one is the most complete, but I still had to go find a lot of Perl dependencies on my own on CPAN because the ones in the repository are outdated.
Noooooo! Don't install CPAN modules! These are the instructions for installing on Debian, and will also get you the required versions of everything as well: http://wiki.koha-community.org/wiki/Debian
Fixed it. The problem was in koha.conf - someone had told me to change the directories in that file to /var/koha/Koha/ instead of /var/koha/Koha/koha-tmpl/ .
This is all done the manual hard way and you're going to have a nuisance of a time keeping up to date. I recommend the packages instead. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Robin: The problem is that if you follow the wiki package instructions verbatim, on a clean LAMP install, it spits out that koha-common can't be installed because it depends on libnet-z3950-zoom-perl. Trying to install this returns an error because it depends on a virtual package, perlapi-5.18.2. I would much prefer the package install if anyone could explain how to resolve this. -- View this message in context: http://koha.1045719.n5.nabble.com/Koha-glacially-slow-tp5856288p5861430.html Sent from the Koha-general mailing list archive at Nabble.com.
Aparrish schreef op do 12-11-2015 om 12:13 [-0700]:
The problem is that if you follow the wiki package instructions verbatim, on a clean LAMP install, it spits out that koha-common can't be installed because it depends on libnet-z3950-zoom-perl. Trying to install this returns an error because it depends on a virtual package, perlapi-5.18.2. I would much prefer the package install if anyone could explain how to resolve this.
Please do: apt-cache policy libnet-z3950-zoom-perl and paste it here. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
Robin et al., Apologies for the delay. I started over with a clean install and everything proceeded smoothly. I have no idea what the issue was, but I wasn't able to reproduce it and now I've got a nice shiny package installation with everything running green. Sorry for all the trouble over these weeks and I really appreciate everyone's help. Andrew -- View this message in context: http://koha.1045719.n5.nabble.com/Koha-glacially-slow-tp5856288p5862092.html Sent from the Koha-general mailing list archive at Nabble.com.
participants (2)
-
Aparrish -
Robin Sheat