NB Update
I went ahead today and updated NB to version 3.1. It was more of a challenge than I thought it would be. For one, the instructions suggest that you make a new weblog directory and copy all the default files over to the new directory, then copy your old
data files over to the new directory. Well, it would be easier to do the opposite, especially if you have lots of modifications to templates and such. I don't have that many, but I still had to remake all of them using the newer templates. Ran into the problem of copying the
default/ over to the new directory deposits it as
default rather than its contents. That was an idiot maneuver however, I have figured out how to properly copy the files over to the new weblog directory.
cp -R nanoblogger-3.1/default/* newblog_directory
Works like a charm. That should have been obvious.
The real problem was that sitecopy did not want to update the website properly. I'm unsure why. Looks like I kept the
default/ folder in the old alphablog local copy
after I managed to correctly move all the default contents to the blog folder. When originally setting up sitecopy, I told it via
--catchup that the local copy mirrored the server copy. I had forgotten that the
default/ folder existed locally. So, when I went to update and didn't find
default/ on the server to delete it, it got upset and didn't work properly. I just deleted everything on the server and ran
sitecopy --init alphablog
sitecopy --update alphablog
Worked like a charm and was still very fast to upload all the files. Now that I look at it more carefully, I may have been able to just run in
fetch mode to update the local copy for real. Not sure. Next time.
Posted by aorchid
| Categories:
NanoBlogger Help