configure cannot load UI::Tooltip

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

configure cannot load UI::Tooltip

Doug Sampson
Hello-

Recently I upgraded from foswiki 1.19 to 2.1.3 while at the same time moving to a new server and also upgrading apache from 2.2 to 2.4. Obviously too many moving parts!

Right now I can view the webs and make changes to any webs as in the past. However, when I attempt to configure, I get an error in the error log as follows:

[Fri Mar 31 11:17:39.945742 2017] [cgi:error] [pid 53630] [client 192.168.101.149:1398] AH01215: ERROR: can't load plugin for UI::Tooltip: /zdata/foswiki/bin/configure

And on the screen, I'm getting a warning as follows:

Warning Foswiki is running in 'bootstrap' mode, which means that there is no existing configuration (LocalSite.cfg is missing or unreadable). Before you save, you must make sure you have configured some way to log in as an admin (see 'Security and Authentication'), or you might lock yourself out from this interface.

Username:
Password:


Show expert options


And in the middle of the page is a watermark type saying "Loading..."

How do I fix this? Throw out the existing LocalSite.cfg and recreate it? This doesn't seem right so am reaching out to the Foswiki community!

~Doug

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

George Clark-2
If the regular view script on foswiki is not showing the bootstrap
message, but configure seems to be stuck in bootstrap, then it's
probably an error, either with javascript, or with the "jsonrpc" script.

The 2.x configure is a bit different from 1.x.  the bin/configure script
only loads a basic page with those warnings.  Javascript takes over and
actually loads all the tabs, and populates them with json requests to
the jsonrpc script, hiding the warnings.

 - Make sure that the browser is not reporting any javascript errors
when loading the configure panel.
 - If you can, examine the network traffic,  make sure that the requests
to jsonrpc are successful.

Did you follow the recommendation to reconfigure Foswiki 2.x from
scratch and migrate the data, or did you try to reuse the LocalSite.cfg
& configuration from the old site.

UI::Tooltip could be the jquery tooltip plugin.  In which case, issues
there might be being caused by a incomplete configuration.

Another thing to try,  configure can be run from the command line using
tools/configure.

cd /var/www/foswiki && sudo -u www-data tools/configure -check
 
will run all the configure checkers and tell you if anything is
complaining.  It will also detect if any of the core or extension "Spec"
files have not been merged and will give you a message like:

Checking:Extensions -> Extension operation and maintenance -> Install,
Update or Remove extensions:  {ExtensionsRepositories}
WARNING:    The Foswiki.spec for the core is more recent than the latest
configuration.
WARNING:    You should run 'tools/configure -wizard Plugins -save'.

Note,  be sure to run any of the cli tools as the "web server user" and
not root.   ie  sudo -u www-data tools/configure ...

You can also check all the file system permissions by running:
   tools/configure -check {DataDir} -method validate_permissions
   tools/configure -check {PubDir} -method validate_permissions

George

On 03/31/2017 02:35 PM, Doug Sampson wrote:

> Hello-
>
> Recently I upgraded from foswiki 1.19 to 2.1.3 while at the same time moving to a new server and also upgrading apache from 2.2 to 2.4. Obviously too many moving parts!
>
> Right now I can view the webs and make changes to any webs as in the past. However, when I attempt to configure, I get an error in the error log as follows:
>
> [Fri Mar 31 11:17:39.945742 2017] [cgi:error] [pid 53630] [client 192.168.101.149:1398] AH01215: ERROR: can't load plugin for UI::Tooltip: /zdata/foswiki/bin/configure
>
> And on the screen, I'm getting a warning as follows:
>
> Warning Foswiki is running in 'bootstrap' mode, which means that there is no existing configuration (LocalSite.cfg is missing or unreadable). Before you save, you must make sure you have configured some way to log in as an admin (see 'Security and Authentication'), or you might lock yourself out from this interface.
>
> Username:
> Password:
>
>
> Show expert options
>
>
> And in the middle of the page is a watermark type saying "Loading..."
>
> How do I fix this? Throw out the existing LocalSite.cfg and recreate it? This doesn't seem right so am reaching out to the Foswiki community!
>
> ~Doug
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Foswiki-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/foswiki-discuss




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

Doug Sampson
> If the regular view script on foswiki is not showing the bootstrap
> message, but configure seems to be stuck in bootstrap, then it's
> probably an error, either with javascript, or with the "jsonrpc" script.
>
> The 2.x configure is a bit different from 1.x.  the bin/configure script
> only loads a basic page with those warnings.  Javascript takes over and
> actually loads all the tabs, and populates them with json requests to
> the jsonrpc script, hiding the warnings.
>
>  - Make sure that the browser is not reporting any javascript errors
> when loading the configure panel.
>  - If you can, examine the network traffic,  make sure that the requests
> to jsonrpc are successful.
>
> Did you follow the recommendation to reconfigure Foswiki 2.x from
> scratch and migrate the data, or did you try to reuse the LocalSite.cfg
> & configuration from the old site.
>

I didn't follow the recommendation! I just decided to start over and redo the installation. I have a backup of the foswiki data that I copied over from the older server. I have a new working foswiki 2.1.3 site going with all its defaults.

In the sandbox, I find that I can create topics but am not able to create content for each topic. There isn't any text box for me to fill in.

Secondly, running the bulk_copy.pl to convert the data from iso-5591-1 to uft-8 results in the following error:


root@aries:/usr/local/www/foswiki/tools # perl bulk_copy.pl --xweb System --xweb _default --xweb _empty --latest '*.WebStatistics' /usr/home/dougs/foswiki/bin /usr/local/www/foswiki/bin
xweb: System,_default,_empty
latest: *.WebStatistics
Copying from v2.1.3 (Foswiki::Store::RcsLite)
Copying to v2.1.3 (Foswiki::Store::RcsLite)
- Web 'Main' already exists in target
        - skipped
- Web 'Sandbox' already exists in target
        - skipped
- Skipping xweb System
Copy web TWiki
- Topic TWiki.WebAtom already exists in target
        - skipped
- Topic TWiki.WebChanges already exists in target
        - skipped
- Topic TWiki.WebCreateNewTopic already exists in target
        - skipped
- Topic TWiki.WebHome already exists in target
        - skipped
- Topic TWiki.WebIndex already exists in target
        - skipped
- Topic TWiki.WebLeftBarExample already exists in target
        - skipped
- Topic TWiki.WebNotify already exists in target
        - skipped
Copy topic TWiki.WebPreferences
 Version 1 by ProjectContributor at 09 Sep 2009 - 01:06
- Topic TWiki.WebRss already exists in target
        - skipped
- Topic TWiki.WebSearch already exists in target
        - skipped
- Topic TWiki.WebSearchAdvanced already exists in target
        - skipped
- Topic TWiki.WebTopicList already exists in target
        - skipped
- Web 'Trash' already exists in target
        - skipped
- Skipping xweb _default
- Skipping xweb _empty
root@aries:/usr/local/www/foswiki/tools #


There are other webs that apparently have not been converted. These are as follows:

root@aries:/usr/local/www/foswiki/tools # ll /usr/home/dougs/foswiki/data/
total 432
-rwxr--r--  1 www  www   1858 Apr 21  2011 .changes*
-rw-r--r--  1 www  www    395 Nov  9  2012 .htpasswd
-rw-r--r--  1 www  www      0 Feb 26  2012 .htpasswd.NEW
-rw-r--r--  1 www  www    248 Apr 25  2011 .htpasswd.ORIG
-rwxr--r--  1 www  www      0 Oct 10  2005 .mailnotify*
drwxr-xr-x+ 2 www  www     59 Mar 30 00:05 Accounting/
drwxr-xr-x+ 2 www  www     31 Mar 30 00:05 BldgMaintenance/
drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 CustomerService/
drwxr-xr-x+ 2 www  www     37 Mar 30 00:05 HumanResources/
drwxr-xr-x+ 2 www  www     51 Mar 30 00:05 InventoryControl/
drwxr-xr-x+ 2 www  www     61 Mar 30 00:05 Main/
drwxr-xr-x+ 2 www  www     32 Mar 30 00:05 Marketing/
drwxr-xr-x+ 2 www  www    599 Mar 30 00:05 OpsSupport/
drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 President/
drwxr-xr-x+ 2 www  www     33 Mar 30 00:05 Production/
drwxr-xr-x+ 2 www  www     25 Mar 30 00:05 Sandbox/
drwxr-xr-x+ 2 www  www    513 Mar 30 00:05 System/
drwxr-xr-x+ 2 www  www     17 Dec 18  2012 TWiki/
drwxr-xr-x+ 2 www  www     50 Mar 30 00:05 TestDept/
drwxr-xr-x+ 2 www  www     22 Mar 30 00:05 Trash/
drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 VideoProduction/
drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 Warehouse/
-rw-r--r--  1 www  www    364 Apr 21  2011 WebAtom.txt
-r--r--r--  1 www  www    567 Apr 21  2011 WebAtom.txt,v
-rw-r--r--  1 www  www    157 Apr 21  2011 WebChanges.txt
-r--r--r--  1 www  www    360 Apr 21  2011 WebChanges.txt,v
-rw-r--r--  1 www  www    176 Apr 21  2011 WebCreateNewTopic.txt
-r--r--r--  1 www  www    379 Apr 21  2011 WebCreateNewTopic.txt,v
-rw-r--r--  1 www  www    725 Apr 21  2011 WebHome.txt
-r--r--r--  1 www  www   4809 Apr 21  2011 WebHome.txt,v
-rwxr--r--  1 www  www   1173 Apr 21  2011 WebHome.txt,v.old*
-rw-r--r--  1 www  www    623 Apr 21  2011 WebHome.txt.old
-rw-r--r--  1 www  www    157 Apr 21  2011 WebIndex.txt
-r--r--r--  1 www  www    360 Apr 21  2011 WebIndex.txt,v
-rw-r--r--  1 www  www    897 Apr 21  2011 WebLeftBar.txt
-r--r--r--  1 www  www   1100 Apr 21  2011 WebLeftBar.txt,v
-rw-r--r--  1 www  www    554 Aug 15  2004 WebLeftBar.txt.old
-rw-r--r--  1 www  www    579 Apr 21  2011 WebNotify.txt
-r--r--r--  1 www  www    783 Apr 21  2011 WebNotify.txt,v
-rw-r--r--  1 www  www   1741 Apr 21  2011 WebPreferences.txt
-r--r--r--  1 www  www   3158 Apr 21  2011 WebPreferences.txt,v
-rw-r--r--  1 www  www    581 Apr 21  2011 WebRss.txt
-r--r--r--  1 www  www    784 Apr 21  2011 WebRss.txt,v
-rw-r--r--  1 www  www    123 Apr 21  2011 WebSearch.txt
-r--r--r--  1 www  www    326 Apr 21  2011 WebSearch.txt,v
-rw-r--r--  1 www  www    159 Apr 21  2011 WebSearchAdvanced.txt
-r--r--r--  1 www  www    362 Apr 21  2011 WebSearchAdvanced.txt,v
-rw-r--r--  1 www  www    860 Apr 21  2011 WebStatistics.txt
-r--r--r--  1 www  www   1063 Apr 21  2011 WebStatistics.txt,v
-rw-r--r--  1 www  www    123 Apr 21  2011 WebTopicList.txt
-r--r--r--  1 www  www    326 Apr 21  2011 WebTopicList.txt,v
drwxr-xr-x+ 2 www  www     14 Apr 10  2012 _default/
drwxr-xr-x+ 2 www  www      3 Apr 10  2012 _empty/
-rw-r--r--  1 www  www   1016 Mar 18  2011 configurationlog.txt
-rw-r--r--  1 www  www  12563 Nov 30  2010 log201011.txt
-rw-r--r--  1 www  www   1910 Dec 21  2010 log201012.txt
-rw-r--r--  1 www  www   3247 Jan 21  2011 log201101.txt
-rw-r--r--  1 www  www  10778 Feb 18  2011 log201102.txt
-rw-r--r--  1 www  www   3301 Mar 18  2011 log201103.txt
-rw-r--r--  1 www  www   8010 Apr 10  2012 mime.types
-rw-r--r--  1 www  www   2088 Nov 13  2010 warn201011.txt
-rw-r--r--  1 www  www    604 Feb  4  2011 warn201102.txt
-rw-r--r--  1 www  www    639 Mar 16  2011 warn201103.txt
root@aries:/usr/local/www/foswiki/tools # find /usr/home/dougs/foswiki | grep setlib.cfg
/usr/home/dougs/foswiki/bin/setlib.cfg

Why is bulk_copy.pl not copying the non-system webs?

~Doug

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

George Clark-2
Response inline...

On 03/31/2017 06:50 PM, Doug Sampson wrote:
> ...
> I didn't follow the recommendation! I just decided to start over and redo the installation. I have a backup of the foswiki data that I copied over from the older server. I have a new working foswiki 2.1.3 site going with all its defaults.
Probably best to not take *all* the defaults.   If you plan to convert
data, then choose the RCS store (it looks like you have done this though
in the log messages below, so that's good.)
> In the sandbox, I find that I can create topics but am not able to create content for each topic. There isn't any text box for me to fill in.
Any chance there are javascript errors or other issues?  You should have
a fully functional system before migrating any data.  The editor should
be working fine.   I'm not sure what would cause the editor to not fully
render a text box.  Probably best to figure that out before migrating
data.
> Secondly, running the bulk_copy.pl to convert the data from iso-5591-1 to uft-8 results in the following error:
>
>
> broot@aries:/usr/local/www/foswiki/tools # perl bulk_copy.pl --xweb System --xweb _default --xweb _empty --latest '*.WebStatistics' /usr/home/dougs/foswiki/bin /usr/local/www/foswiki/bin
> xweb: System,_default,_empty
> latest: *.WebStatistics
> Copying from v2.1.3 (Foswiki::Store::RcsLite)
> Copying to v2.1.3 (Foswiki::Store::RcsLite)
...
Something is wrong here.  It seems to be copying from 2.1.3 to 2.1.3.  
If you are trying to copy from an old installation, it should be
reporting a different "from" version, where  it would also be detecting
a different character set.

But tbh for a "like store" conversion, I'd recommend installing
CharsetConverterContrib into the new 2.1.3 install.   Once the system is
fully configured and stable,  convert the webs.  This is done one web at
a time, but never convert the same web more than once.  Best to take a
quick backup occasionally in case of typos.

cp -a oldsys/data/VideoProduction  newsys/data/.
cp -a oldsys/pub/VideoProduction newsys/pub/.
cd newsys/tools

Then inspect for any conversion issues;
./convert_charset.pl -i -encoding=cp-1252 -web=VideoProduction

(cp-1252 character set is usually the best choice, even though
ISO-8859-1 is the default character set.  If you have windows users who
cut/paste into topics, your data is most likely the windows character
set.  If your users are particularly inventive, you may need to fiddle
with this a bit.)

And if it looks clean, make the conversion:
./convert_charset.pl -encoding=cp-1252 -web=VideoProduction

Finally convert any deprecated empty DENY* rules to ALLOW wildcards:
./convertTopicSettings.pl -fixdeny -update -verbose VideoProduction

You should convert the Main web, and any other webs with local data.  
Don't touch System web.

*all of the above* should be done as the www user, so that ownership of
files doesn't change.  If you do run as root, then before you go live
with apache,  chown -R www:www /path/to/foswiki  to fix all the ownerships.

You should also copy the working/work_areas directory to the new
system.  And the .htpasswd file if you are using htpasswd for
authentication.  Hopefully none of your wikinames use non-ascii
characters.  That fixup is completely manual.

The above approach seems to work pretty well.

> ...

> root@aries:/usr/local/www/foswiki/tools # ll /usr/home/dougs/foswiki/data/
> total 432
> ...
> drwxr-xr-x+ 2 www  www     59 Mar 30 00:05 Accounting/
> drwxr-xr-x+ 2 www  www     31 Mar 30 00:05 BldgMaintenance/
> drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 CustomerService/
> drwxr-xr-x+ 2 www  www     37 Mar 30 00:05 HumanResources/
> drwxr-xr-x+ 2 www  www     51 Mar 30 00:05 InventoryControl/
> drwxr-xr-x+ 2 www  www     61 Mar 30 00:05 Main/
> drwxr-xr-x+ 2 www  www     32 Mar 30 00:05 Marketing/
> drwxr-xr-x+ 2 www  www    599 Mar 30 00:05 OpsSupport/
> drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 President/
> drwxr-xr-x+ 2 www  www     33 Mar 30 00:05 Production/
> drwxr-xr-x+ 2 www  www     25 Mar 30 00:05 Sandbox/
> drwxr-xr-x+ 2 www  www    513 Mar 30 00:05 System/
> drwxr-xr-x+ 2 www  www     17 Dec 18  2012 TWiki/
> drwxr-xr-x+ 2 www  www     50 Mar 30 00:05 TestDept/
> drwxr-xr-x+ 2 www  www     22 Mar 30 00:05 Trash/
> drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 VideoProduction/
> drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 Warehouse/
...
Something strange here.   Topic data should not be appearing in the root
of the data directory.

> -rw-r--r--  1 www  www    364 Apr 21  2011 WebAtom.txt
> -r--r--r--  1 www  www    567 Apr 21  2011 WebAtom.txt,v
> -rw-r--r--  1 www  www    157 Apr 21  2011 WebChanges.txt
> -r--r--r--  1 www  www    360 Apr 21  2011 WebChanges.txt,v
> ...
> -rw-r--r--  1 www  www    860 Apr 21  2011 WebStatistics.txt
> -r--r--r--  1 www  www   1063 Apr 21  2011 WebStatistics.txt,v
> -rw-r--r--  1 www  www    123 Apr 21  2011 WebTopicList.txt
> -r--r--r--  1 www  www    326 Apr 21  2011 WebTopicList.txt,v
> ...
If you want to keep the logs,  on the new Foswiki, they will be kept in
working/logs directory.   Though based on the dates,  these log files
are rather old.

> -rw-r--r--  1 www  www   1016 Mar 18  2011 configurationlog.txt
> -rw-r--r--  1 www  www  12563 Nov 30  2010 log201011.txt
> -rw-r--r--  1 www  www   1910 Dec 21  2010 log201012.txt
> -rw-r--r--  1 www  www   3247 Jan 21  2011 log201101.txt
> -rw-r--r--  1 www  www  10778 Feb 18  2011 log201102.txt
> -rw-r--r--  1 www  www   3301 Mar 18  2011 log201103.txt
> -rw-r--r--  1 www  www   8010 Apr 10  2012 mime.types
> -rw-r--r--  1 www  www   2088 Nov 13  2010 warn201011.txt
> -rw-r--r--  1 www  www    604 Feb  4  2011 warn201102.txt
> -rw-r--r--  1 www  www    639 Mar 16  2011 warn201103.txt
> root@aries:/usr/local/www/foswiki/tools # find /usr/home/dougs/foswiki | grep setlib.cfg
> /usr/home/dougs/foswiki/bin/setlib.cfg
>
> Why is bulk_copy.pl not copying the non-system webs?
>
> ~Doug
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Foswiki-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/foswiki-discuss




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

Chris Hoefler
In reply to this post by Doug Sampson
In the sandbox, I find that I can create topics but am not able to create content for each topic. There isn't any text box for me to fill in.

This sounds like a configuration issue. Foswiki 2.x uses NatEdit to replace to older Raw Edit in Foswiki 1.x, so any settings you may have had in Main/ (ex: SitePreferences) or other customizations (ex: Skins, templates) may be obsolete in the new version. So, if you haven't done this, just get a vanilla Foswiki 2.x up and running before migrating anything (data, tmp files, users, templates, configs, preferences). The clean tarball should just work in a new virtual host, unless there is something wrong with your Apache config.

ERROR: can't load plugin for UI::Tooltip

UI::Tooltip is part of JQueryPlugin, which is in the base install for Foswiki 2.x. I haven't had a problem in a while, but I do recall having occasional configuration issues with JQueryPlugin in the past. Usually, the selected default library versions were incompatible with the browser, or something similar. So if you are getting Javascript errors, you might want to look at that.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

Doug Sampson
In reply to this post by George Clark-2
> > In the sandbox, I find that I can create topics but am not able to
> create content for each topic. There isn't any text box for me to fill
> in.
> Any chance there are javascript errors or other issues?  You should have
> a fully functional system before migrating any data.  The editor should
> be working fine.   I'm not sure what would cause the editor to not fully
> render a text box.  Probably best to figure that out before migrating
> data.

I'm finding that my WaterFox browser doesn't render the text box correctly and neither does my Opera web browser. However, both M$ Edge and Chrome web browsers do!

The Waterfox browser only has a minimum number of extensions. Opera only has three.

Ah, I found that if I clear out the cache of both Opera and Waterfox browsers, I'm able to view the text boxes!

I think that was mentioned in the installation notes, wasn't it?

~Doug



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: configure cannot load UI::Tooltip

Doug Sampson
In reply to this post by George Clark-2
> > I didn't follow the recommendation! I just decided to start over and
> redo the installation. I have a backup of the foswiki data that I copied
> over from the older server. I have a new working foswiki 2.1.3 site going
> with all its defaults.
> Probably best to not take *all* the defaults.   If you plan to convert
> data, then choose the RCS store (it looks like you have done this though
> in the log messages below, so that's good.)
> > In the sandbox, I find that I can create topics but am not able to
> create content for each topic. There isn't any text box for me to fill
> in.
> Any chance there are javascript errors or other issues?  You should have
> a fully functional system before migrating any data.  The editor should
> be working fine.   I'm not sure what would cause the editor to not fully
> render a text box.  Probably best to figure that out before migrating
> data.
> > Secondly, running the bulk_copy.pl to convert the data from iso-5591-1
> to uft-8 results in the following error:
> >
> >
> > broot@aries:/usr/local/www/foswiki/tools # perl bulk_copy.pl --xweb
> System --xweb _default --xweb _empty --latest '*.WebStatistics'
> /usr/home/dougs/foswiki/bin /usr/local/www/foswiki/bin
> > xweb: System,_default,_empty
> > latest: *.WebStatistics
> > Copying from v2.1.3 (Foswiki::Store::RcsLite)
> > Copying to v2.1.3 (Foswiki::Store::RcsLite)
> ...
> Something is wrong here.  It seems to be copying from 2.1.3 to 2.1.3.
> If you are trying to copy from an old installation, it should be
> reporting a different "from" version, where  it would also be detecting
> a different character set.
>
> But tbh for a "like store" conversion, I'd recommend installing
> CharsetConverterContrib into the new 2.1.3 install.   Once the system is
> fully configured and stable,  convert the webs.  This is done one web at
> a time, but never convert the same web more than once.  Best to take a
> quick backup occasionally in case of typos.
>
> cp -a oldsys/data/VideoProduction  newsys/data/.
> cp -a oldsys/pub/VideoProduction newsys/pub/.
> cd newsys/tools
>
> Then inspect for any conversion issues;
> ./convert_charset.pl -i -encoding=cp-1252 -web=VideoProduction
>
> (cp-1252 character set is usually the best choice, even though
> ISO-8859-1 is the default character set.  If you have windows users who
> cut/paste into topics, your data is most likely the windows character
> set.  If your users are particularly inventive, you may need to fiddle
> with this a bit.)
>
> And if it looks clean, make the conversion:
> ./convert_charset.pl -encoding=cp-1252 -web=VideoProduction
>
> Finally convert any deprecated empty DENY* rules to ALLOW wildcards:
> ./convertTopicSettings.pl -fixdeny -update -verbose VideoProduction
>
> You should convert the Main web, and any other webs with local data.
> Don't touch System web.
>
> *all of the above* should be done as the www user, so that ownership of
> files doesn't change.  If you do run as root, then before you go live
> with apache,  chown -R www:www /path/to/foswiki  to fix all the
> ownerships.
>
> You should also copy the working/work_areas directory to the new
> system.  And the .htpasswd file if you are using htpasswd for
> authentication.  Hopefully none of your wikinames use non-ascii
> characters.  That fixup is completely manual.
>
> The above approach seems to work pretty well.
>
> > ...
>
> > root@aries:/usr/local/www/foswiki/tools # ll
> /usr/home/dougs/foswiki/data/
> > total 432
> > ...
> > drwxr-xr-x+ 2 www  www     59 Mar 30 00:05 Accounting/
> > drwxr-xr-x+ 2 www  www     31 Mar 30 00:05 BldgMaintenance/
> > drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 CustomerService/
> > drwxr-xr-x+ 2 www  www     37 Mar 30 00:05 HumanResources/
> > drwxr-xr-x+ 2 www  www     51 Mar 30 00:05 InventoryControl/
> > drwxr-xr-x+ 2 www  www     61 Mar 30 00:05 Main/
> > drwxr-xr-x+ 2 www  www     32 Mar 30 00:05 Marketing/
> > drwxr-xr-x+ 2 www  www    599 Mar 30 00:05 OpsSupport/
> > drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 President/
> > drwxr-xr-x+ 2 www  www     33 Mar 30 00:05 Production/
> > drwxr-xr-x+ 2 www  www     25 Mar 30 00:05 Sandbox/
> > drwxr-xr-x+ 2 www  www    513 Mar 30 00:05 System/
> > drwxr-xr-x+ 2 www  www     17 Dec 18  2012 TWiki/
> > drwxr-xr-x+ 2 www  www     50 Mar 30 00:05 TestDept/
> > drwxr-xr-x+ 2 www  www     22 Mar 30 00:05 Trash/
> > drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 VideoProduction/
> > drwxr-xr-x+ 2 www  www     30 Mar 30 00:05 Warehouse/
> ...
> Something strange here.   Topic data should not be appearing in the root
> of the data directory.
> > -rw-r--r--  1 www  www    364 Apr 21  2011 WebAtom.txt
> > -r--r--r--  1 www  www    567 Apr 21  2011 WebAtom.txt,v
> > -rw-r--r--  1 www  www    157 Apr 21  2011 WebChanges.txt
> > -r--r--r--  1 www  www    360 Apr 21  2011 WebChanges.txt,v
> > ...
> > -rw-r--r--  1 www  www    860 Apr 21  2011 WebStatistics.txt
> > -r--r--r--  1 www  www   1063 Apr 21  2011 WebStatistics.txt,v
> > -rw-r--r--  1 www  www    123 Apr 21  2011 WebTopicList.txt
> > -r--r--r--  1 www  www    326 Apr 21  2011 WebTopicList.txt,v
> > ...
> If you want to keep the logs,  on the new Foswiki, they will be kept in
> working/logs directory.   Though based on the dates,  these log files
> are rather old.
> > -rw-r--r--  1 www  www   1016 Mar 18  2011 configurationlog.txt
> > -rw-r--r--  1 www  www  12563 Nov 30  2010 log201011.txt
> > -rw-r--r--  1 www  www   1910 Dec 21  2010 log201012.txt
> > -rw-r--r--  1 www  www   3247 Jan 21  2011 log201101.txt
> > -rw-r--r--  1 www  www  10778 Feb 18  2011 log201102.txt
> > -rw-r--r--  1 www  www   3301 Mar 18  2011 log201103.txt
> > -rw-r--r--  1 www  www   8010 Apr 10  2012 mime.types
> > -rw-r--r--  1 www  www   2088 Nov 13  2010 warn201011.txt
> > -rw-r--r--  1 www  www    604 Feb  4  2011 warn201102.txt
> > -rw-r--r--  1 www  www    639 Mar 16  2011 warn201103.txt
> > root@aries:/usr/local/www/foswiki/tools # find /usr/home/dougs/foswiki
> | grep setlib.cfg
> > /usr/home/dougs/foswiki/bin/setlib.cfg
> >
> > Why is bulk_copy.pl not copying the non-system webs?
> >
> > ~Doug

George-

I wanted to thank you for your instructions on converting what I have then to the latest version. All of your instructions worked to a "T"! I now have a working Foswiki 2.1.3 installation going! Thanks!

~Doug


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss