Changes

From SME Server
Jump to navigationJump to search
455 bytes removed ,  06:23, 21 April 2008
Line 184: Line 184:     
=== Simple (and dirty) way to discover the incompatible contrib panel ===
 
=== Simple (and dirty) way to discover the incompatible contrib panel ===
Create a temporary folder in your SME, like /root/paneltemp
+
Run the following command at the console server:
 +
find /etc/e-smith/locale/ -type f | xargs -n1 iconv -f UTF-8 -t UTF-8 > /dev/null
   −
Open mc (midnight commander) and enter in the previouslly create folder at one mc side, ex. left side, and navigate with the other side of mc (right) to /etc/e-smith/web/functions
+
If you have an incompatible panel you will get an error like this:
   −
'''MOVE''' (with F6 key of your keyboard) those function panels that are extra contribs, from right side to left side. Leave those legacy for SME Server.
+
iconv: /etc/e-smith/locale/de/etc/e-smith/web/functions/dar2:14:23: cannot convert
   −
Then run the command:
+
Now you want to know what rpm package owns that file. Run this command:
   −
  /etc/e-smith/events/actions/navigation-conf
+
  rpm -qf <path to panel file>
   −
If you not receive an error message, means that all panels under /etc/e-smith/web/functions are ok.
+
Report above this package as incompatible.
   −
'''MOVE''' one by one the right side panels, and run the above command.
+
To fix temporally this issue, create a temporary folder in your SME, like /root/paneltemp
   −
When you get an error like this:
+
'''MOVE''' those problematic function files to your temp folder.
   −
  not well-formed (invalid token) at line 4, column 22, byte 135 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187
+
Then run the command:
 +
 
 +
  /etc/e-smith/events/actions/navigation-conf
   −
means that panel is not compatible with the last SME updates (d-m-y) 19-04-08.
+
Now '''MOVE''' the same files from your temp folder to /etc/e-smith/web/functions
   −
Meanwhile the contrib author fix the contrib, and when you identify those icompatible panels, leave only the correct panels under /etc/e-smith/web/functions, run the navigation-conf command, and then move all incompatible panels to /etc/e-smith/web/functions, but not run the last command again. You will get a correct navigation panel in server-manager, and under "Unknown" title all those incompatible panels.
+
You will get a correct navigation panel in server-manager, and under "Unknown" title all those incompatible panels.
    
[[Category:Howto]]
 
[[Category:Howto]]
985

edits

Navigation menu