Koha OPAC page messed up after upgrade from 18.04 to 21.05
I have upgraded our Koha to a new server with Ubuntu 21.04 and Koha 21.05.01.003. While data migration and staff page are ok the OPAC page is messed up. It seems like some .css or .js are missing. When I open the opac page I can see 404.pl popping up: But I am not able to find what is missing. I have checked the 'view-source' of the page but don't see any links to non-existing files. Any ideas on how to find what is missing? Thank you very much for any help or ideas. Rudy Wuthrich Kodaikanal International School
hi Rudy ubuntu 21.04 is very new make sure you have the following line in your |/etc/apt/sources.list.d/koha.list| file, (note the 'hirsute') | deb http://debian.koha-community.org/koha-staging 21.05 main hirsute then... sudo apt update sudo apt upgrade sudo systemctl restart koha-common cheers, Mason | On 29/06/21 12:10 am, ism@kis.in wrote:
I have upgraded our Koha to a new server with Ubuntu 21.04 and Koha 21.05.01.003.
While data migration and staff page are ok the OPAC page is messed up.
It seems like some .css or .js are missing.
When I open the opac page I can see 404.pl popping up:
But I am not able to find what is missing.
I have checked the ‘view-source’ of the page but don’t see any links to non-existing files.
Any ideas on how to find what is missing?
Thank you very much for any help or ideas.
Rudy Wuthrich Kodaikanal International School
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
On 29/06/21 1:33 am, Mason James wrote:
hi Rudy ubuntu 21.04 is very new
make sure you have the following line in your |/etc/apt/sources.list.d/koha.list| file, (note the 'hirsute')
| deb http://debian.koha-community.org/koha-staging 21.05 main hirsute
oops!!! the correct line is... deb http://debian.koha-community.org/koha 21.05 main hirsute
On my new Koha 21.05 the OPAC (opacheader_en) in preview looks correct. But then on the OPAC site it looks like jQuery or css are missing. Why would that be? Why does the page not show the same thing as the preview? On Mon, Jun 28, 2021 at 5:40 PM <ism@kis.in> wrote:
I have upgraded our Koha to a new server with Ubuntu 21.04 and Koha 21.05.01.003.
While data migration and staff page are ok the OPAC page is messed up.
It seems like some .css or .js are missing.
When I open the opac page I can see 404.pl popping up:
But I am not able to find what is missing.
I have checked the ‘view-source’ of the page but don’t see any links to non-existing files.
Any ideas on how to find what is missing?
Thank you very much for any help or ideas.
Rudy Wuthrich Kodaikanal International School
Hi Ruth, Koha 20.11 (which you skipped) removed support for the ancient Bootstrap 2.3.x (2013 vintage) and replaced it with Bootstrap 4.5 (released May 2020). The classes, grid system, scaffolding and pseudo classes etc have undergone several changes. And based on that Koha OPAC's own markup too had changed e.g. instead of #wrap it's now #wrapper IIRC. You will need to touch up the custom HTML, css and JavaScript that you had added earlier and make it compliant to the new structure. HTH, Indranil Das Gupta L2C2 Technologies On Mon, 28 Jun, 2021, 10:13 pm ISM KIS, <ism@kis.in> wrote:
On my new Koha 21.05 the OPAC (opacheader_en) in preview looks correct. But then on the OPAC site it looks like jQuery or css are missing.
Why would that be? Why does the page not show the same thing as the preview?
On Mon, Jun 28, 2021 at 5:40 PM <ism@kis.in> wrote:
I have upgraded our Koha to a new server with Ubuntu 21.04 and Koha 21.05.01.003.
While data migration and staff page are ok the OPAC page is messed up.
It seems like some .css or .js are missing.
When I open the opac page I can see 404.pl popping up:
But I am not able to find what is missing.
I have checked the ‘view-source’ of the page but don’t see any links to non-existing files.
Any ideas on how to find what is missing?
Thank you very much for any help or ideas.
Rudy Wuthrich Kodaikanal International School
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
participants (4)
-
Indranil Das Gupta -
ISM KIS -
ism@kis.in -
Mason James