| Summary: | OpacMainUserBlock not properly preserved during upgrade - no more reachable | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Hans Ulrich Frink <hansulrich.frink> |
| Component: | Installation and upgrade (web-based installer) | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | gmcharlt |
| Version: | 22.05 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| URL: | opac.genealogie-lahndill.de | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Hans Ulrich Frink
2022-09-11 16:15:29 UTC
I am not sure if we can fix that migration as this has been a while ago now, but maybe we can help with clearing up the situation: You can create a report like: select idnew, category, code, lang, location, branchcode from additional_contents; This should show you data similar to below: +-------+---------------------+---------------------+---------+-------------------+------------+ | idnew | category | code | lang | location | branchcode | +-------+---------------------+---------------------+---------+-------------------+------------+ | 1 | news | News_1 | default | staff_only | NULL | | 2 | news | News_2 | default | staff_only | NULL | | 4 | html_customizations | OpacMainUserBlock_3 | de-DE | OpacMainUserBlock | NULL | +-------+---------------------+---------------------+---------+-------------------+------------+ The html_customization is missing the default entry, which makes it disappear from the list. Note the idnew of the existing entry. Go to this link, replacing the id with your missing content one: /cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=4&editmode=wysiwyg It should hopefully open the editor showing you the 'missing text'. Add something to default or move the content from a translation to there and save. Hope this helps! thanks Katrin for your reply. We solved our problem by reinstalling the whole koha and importing our data into the new empty mysql db. just running the upgrade on the existing installation did NOT work. That was the reason to file the bug. I think the upgrade process does not adress the changed field structure from "news" to "html" properly. I wonder how other users worked around this. (In reply to Hans Ulrich Frink from comment #2) > thanks Katrin for your reply. > We solved our problem by reinstalling the whole koha and importing our data > into the new empty mysql db. just running the upgrade on the existing > installation did NOT work. That was the reason to file the bug. I think the > upgrade process does not adress the changed field structure from "news" to > "html" properly. > I wonder how other users worked around this. In general it does address it, but we had some issues that have been fixed since. I am glad it works for you now, but usually that step should not be necessary. When you update, always keep an eye out for any error messages from the update script. Would also have been interesting to see what structure you ended up with. (INVALID is a compromise - I think won't be able to fix that for this old version now with the information we have, but it is a valid report. WORKSFORME or FIXED also didn't fit) |