Broken CSS after migrating to Znuny 7.0.19 from 6.5.8

Moderator: crythias

Post Reply
warpitaly
Znuny newbie
Posts: 5
Joined: 24 May 2011, 18:38
Znuny Version: 3.0.8
Real Name: Giorgio Davanzo
Company: Mida4 s.r.l.

Broken CSS after migrating to Znuny 7.0.19 from 6.5.8

Post by warpitaly »

Greetings,
sorry to bother but I have been banging my head around this issue for the past 12 hours without finding a solution; I have a problem very similar to this one: viewtopic.php?t=43559&sid=a26898bd2dc4c ... 52e6a3ca67

After upgrading to Znuny 7.0.19 from 6.5.8, it looks like all the CSS is gone nuts (see attachment); and no, it is not a local browser stale cache issue - all the files are fetched successfully. The daemon was not running since I wanted to make sure that the UI is functioning correctly before starting it.

I am running it on Debian 12.6; I did migrate my configuration from "otrs" to "znuny" (including resetting the permissions to a new user "znuny").
There are no error in the log files.

Any hints?

Best regards and thanks,
Giorgio
You do not have the required permissions to view the files attached to this post.
lis9
Znuny newbie
Posts: 71
Joined: 13 Apr 2017, 11:27
Znuny Version: 7.1.3
Real Name: Daniel
Company: Komputronik S.A.

Re: Broken CSS after migrating to Znuny 7.0.19 from 6.5.8

Post by lis9 »

1. Check incompatible extensions
2. Try running Admin::Config::FixMissingFrontendFiles, Maint::Loader::CacheCleanup and Maint::Loader::CacheGenerate from znuny Console.
3. Consider migrating to 7.1.x

DL
warpitaly
Znuny newbie
Posts: 5
Joined: 24 May 2011, 18:38
Znuny Version: 3.0.8
Real Name: Giorgio Davanzo
Company: Mida4 s.r.l.

Re: Broken CSS after migrating to Znuny 7.0.19 from 6.5.8

Post by warpitaly »

I am not 100% ready to mark it as solved, but close to it - thanks lis9.

1) The only extension I have is FAQ, and it was successfully updated following the official instructions (I executed both Admin::Package::UpgradeAll and Admin::Package::ReinstallAll); in one of the endless attempts, I also tried removing it to no use.
2) I run the suggested command Admin::Config::FixMissingFrontendFiles
The outcome was:

Code: Select all

Fixing missing JavaScript and CSS configurations...

The following settings have been fixed:
$VAR1 = {
          'Loader::Agent::CommonCSS###000-Framework' => [
                                                          'Core.Reset.css',
                                                          'Core.Default.css',
                                                          'Core.Header.css',
                                                          'Core.OverviewControl.css',
                                                          'Core.OverviewSmall.css',
                                                          'Core.OverviewMedium.css',
                                                          'Core.OverviewLarge.css',
                                                          'Core.Footer.css',
                                                          'Core.PageLayout.css',
                                                          'Core.Form.css',
                                                          'Core.Table.css',
                                                          'Core.Login.css',
                                                          'Core.Widget.css',
                                                          'Core.WidgetMenu.css',
                                                          'Core.TicketDetail.css',
                                                          'Core.Tooltip.css',
                                                          'Core.Dialog.css',
                                                          'Core.InputFields.css',
                                                          'Core.Print.css',
                                                          'Core.Animations.css',
                                                          'Mida4.css',
                                                          'Core.Color.css',
                                                          'Core.Vars.css',
                                                          'Core.Reset.Forwwward.css',
                                                          'Core.Overview.css',
                                                          'Core.Components.css',
                                                          'Core.FlexboxModel.css',
                                                          'Core.Typography.css'
                                                        ]
        };
....and then it hang there; I forcefully stopped it, run it again with this result:

Code: Select all

The following settings have been fixed:
$VAR1 = {};
2) the system at this point was still not operational
3) I deleted the znuny dir, extracted the tar again and re-run the migration procedure

Code: Select all

scripts/MigrateToZnuny7_0.pl
on the already migrated DB
4) I re-run the package upgrader, and it failed

Code: Select all

bin/znuny.Console.pl Admin::Package::UpgradeAll
with this result:

Code: Select all

Fetching online repositories...
  Freebie Features... Done
  Znuny Open Source Add-ons... Done

Upgrading installed packages...
  The following packages were already up-to-date but not deployed correctly...
    FAQ
5) I run the reinstall

Code: Select all

bin/znuny.Console.pl Admin::Package::ReinstallAll
and it succeeded
6) I restarted apache2 and... magic! apparently, now it is all ok.

I will keep you posted, and update the post status if this really fixed it.

Thanks!
Post Reply