]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/UPGRADE
bweb: update location title
[bacula/bacula] / gui / bweb / UPGRADE
index 074d7fcc14969b7556ac2588742d03543fad5abc..bc0aaead1c39b1ec77d527191130faa661b8d0d2 100644 (file)
@@ -1,15 +1,45 @@
           Upgrade notes for Bweb
 
+Update from 3.0 to 4.0/5.0
+---------------------------
+
+Nothing to do
+
 Upgrade from 2.2.Y to 3.0
 -------------------------
 
+ - Template location is a bit different :
+   2.2.Y)
+      /../share/bweb/tpl          # english
+                     fr/tpl       # french
+                     es/tpl       # spanish
+
+      template_dir points to one of them
+
+   3.0)
+      /../share/bweb/tpl/en       # english
+                         fr       # french
+                         es       # spanish
+
+      Now, template_dir points to the template root, and
+      we use a new option "lang" to use the right location
+
+      template_dir=/../share/bweb/tpl
+      lang=fr
+           es
+           en
+
+ - If you are using english template, you have to use
+   bweb/lang/en/tpl/*.tpl instead of bweb/tpl (see INSTALL)
  - Add the Date::Calc package to your perl library
  - Add user, new job overview and bresto tables to your catalog
 
    mysql) 
        load the bweb/script/upgrade-2.2_3.0_mysql.sql file
+          root# mysql bacula < bweb/script/upgrade-2.2_3.0_mysql.sql
    postgresql)
         load the bweb/script/upgrade-2.2_3.0_postgresql.sql file
+          postgres# psql -U bacula bacula < bweb/script/upgrade-2.2_3.0_postgresql.sql
 
 Upgrade from 2.0.X to 2.2.Y
 ---------------------------