Hello,
I recently downloaded the Twiki JB 1.1.0, looking to update my original registered Twiki 1.0.3b.
I am running on an Intel Mac, OSX 10.4.9, Parallels build 3188.
In my existing JB (1.0.3), I made a fresh backup. Shut down the VM. Started the new JB, and used "Browse to the backup file". This would always result in "Bad path to backup file." I attempted putting the file in several locations on the computer to resolve the problem.
I then tried re-launching the old JB, and use the IP address to import from the new JB. Result:
"Error connecting to JumpBox running on 192.9.100.90, please check verify the ip address.
I backup via a local SMB share on my mac, so I pointed the new JB to the share, fetched a list of backup (successfully). Any of the backups I choose give me the error:
"Error: No such file or directory - /tmp/twiki-temp-4637/var/data/twiki-support/data/Main/BrianMurphy"
Not sure where to go from here, any ideas would be appreciated.
Thanks!
I have a potential fix for
I have a potential fix for you, if you have some basic UNIX skills (i.e. SSH in and run a command).
Basic Unix Commands
Hello, yes I have some basic Unix skills. That would be a fair understanding of what is going on when given something to follow.
I had already logged into the shell to see if that tmp directory referenced existed, it did not.
Excellent, here's what to
Excellent, here's what to do:
* Unzip a fresh 1.1.0 TWiki JumpBox
* Register it and enable SSH
* SSH in and run these two commands:
cd /jumpbox/application_portal/privileged_scripts/ubuntu/sudo sed -i.bak -e '161s|"data/Main"|&, :force => true|' app.rb* Log out any try the restore business again, preferably using the SMB method.
No Luck
Good Morning,
I just attempted you suggestion, first on the existing 1.1.0, then on a fresh one. When I run the restore I receive:
"Error: no such option: force"
I don't know what the syntax should be, so I figured I would post the line that was modified by your code in case you spot an error:
users.each { |u| FileUtils.cp(["#{restdir}/data/Main/#{u}", "#{restdir}/data/Main/#{u}.txt,v"], "data/Main", :force => true) }Thanks!
Sorry, I was barking up the
Sorry, I was barking up the wrong tree. Let's try again:
* Unzip a fresh 1.1.0 TWiki JumpBox
* Register it and enable SSH
* SSH in and run these two commands:
cd /jumpbox/application_portal/privileged_scripts/ubuntu/ sudo sed -i.bak -e '161s|{u}|&.txt|' app.rb* Log out any try the restore business again, preferably using the SMB method.
Seemed to work
Well, that seemed to work!
My modified Main Web: WebHome in Twiki didn't come over, but that is a simple enough fix.
...
After a bit of testing, there seems to be some issues with Twiki. I will start the process over again fresh to determine if it is related to the restore.
Thanks for your help!
Seems to break twiki
I did a fresh install, register, restore. The restore appears to break TWiki.
Attempting to access an edit page returns this error:
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
RCS: failed to create file path: Permission denied
Looking at the Apache error Log there are several errors:
[Fri Jul 25 13:11:07 2008] [error] [client 192.9.100.155] Could not write "TWikiUserMapping has TURNED OFF EnableNewUserRegistration, because the password file is read only." to /var/data/twiki/data/warn200807.txt: Permission denied, referer: http://192.9.100.249/
[Fri Jul 25 13:11:23 2008] [error] [client 192.9.100.155] Could not write "TWikiUserMapping has TURNED OFF EnableNewUserRegistration, because the password file is read only." to /var/data/twiki/data/warn200807.txt: Permission denied, referer: http://192.9.100.249/twiki/bin/login/Main/WebHome?t=1216991467;origurl=%...
Fri Jul 25 13:11:23 2008] [error] [client 192.9.100.155] Could not write "RCS: failed to create file /var/data/twiki/data/Main/WebHome.lease: Permission denied at /var/data/twiki/lib/TWiki/Store/RcsFile.pm line 764., referer: http://192.9.100.249/twiki/bin/login/Main/WebHome?t=1216991467;origurl=%...
If you have any input I would appreciate it (especially if it is something simple), but the wiki I was trying to migrate is not that complex (maybe 80 pages), and I should be able to re-create it.
OK, this new problem is one
OK, this new problem is one we encountered internally a couple of weeks ago, and we have a fix for. You can either email me at bjan@jumpbox.com and I'll send you a new app.rb file to scp onto the new JumpBox, or for a working-out-of-the-box solution you can wait for the next release of TWiki, which I can't give you a firm date for.
Updating to new JumpBox - Errors with Restore
Hi,
We will see if we can recreate this ourselves. What browser are you using to do the restore? Thanks for the feedback.
Austin
I never even thought to try
I never even thought to try a different browser - been some long days. I am using Firefox 3.0.1 - on the same mac the JB is running on. This morning I will try some other browsers + machines.
--
Just tried it with Safari on the local machine. The Upload file now gets to the same error as the browse SMB backups, instead of saying it can't find the file.
"Error: No such file or directory - /tmp/twiki-temp-21168/var/data/twiki-support/data/Main/BrianMurphy"
The temp number is different, but I used a backup I created after the first set of tests.
I never even thought to try
Yeah, we have an idea of what the issue is and browser would not effect it. Thanks for trying though.
Austin