And then "cd mbserver" and do what the virutal server guide says from there. That should have an up to date version of the codebase that won't complain about incompatible DB schemas.
Errm, actually you'll need to ditch the already existing DB and recreate them with the new checkout too.
sonypsx
ok done the svn
Muz
Okay, cd to the newly made directory
sonypsx
now under svn dir a got mb_server and mb_server-20081123
Muz
Then ./admin/psql SYSTEM
Waiy, scratch that
sonypsx
ok
Muz
Before that, cd mb_server-20081123 and edit DBDefs.pm
Make sure it has the corret values, you can reference the DBEfs.pm file in the older directory for what should be i there.
sonypsx
thats the first fault ....
if you do the svn co thing
the newly received dir has now admin/DBDefs.pm file neigther DBDefs.pm.default
the newly received dir has no admin/DBDefs.pm file neigther DBDefs.pm.default
Muz
Hmm, it may be located in the root of the new svn co'd folder instead.
It's in cgi-bin
So yeah, in the new folder, you can cp cgi-bin/DBDefs.pm.default cgi-bin/DBDefs.pm
And then edit cgi-bin/DBDefs.pm
sonypsx
done
created also a secret value
Muz
Okay, from the new folder, now try running adming/psql SYSTEM
This should give you a Postgres prompt if your DBDefs is correct
sonypsx
i got a prompt now ... template1#
Muz
Okay good
You need to drop the old databases that were created with the old script version
You can do that with "DROP DATABASE musicbrainz_db;"
sonypsx
ok i know how ...
Muz
And "DROP DATABASSE musicbrainz_db_raw;"
Ah okay.
sonypsx
dropped
Muz
Okay, \q, to get out of thee prompt and now you should be able to continue with the virtual server guide using your new checkout of the code.
Tim|Paperclip has quit
sonypsx
if i try now the admin/Initdb thing then i will get an error - i�m sure :(
Muz
Well try it and see what the error says, and we'll go from there. ;)
sonypsx
ok ...
pronik has quit
i�ll do now the perl ./admin line ....
ok mbdump/cdtoc ... and ongoing
mddump/puid
mbdump/puid
mbdump/track
this is a long one i know :)
i this works then i know whats wrong
Muz
Heh
sonypsx
there is a "mv mb_server mb_server-20081123" line in this forum howto
and that just mess up all
Muz
Mind linking to the forum post, I'm intrigrued.
sonypsx
ok the script loads now artist
id=1224
already load track
50% and ongoing
sadly vm could not handle more cpu�s :)
now creating indexes
futilius joined the channel
still on the indexes
Muz?
Muz
Yes??
sonypsx
Ah ok .. thinking you are deepreading the forumpost :)
Muz
Nah, nothing to say whilst that churns away.
sonypsx
Ok
Index creating done ... now some Alter Table Op�s
some warnings about skipping pg_authid and vacuum it
Muz
That's fine
sonypsx
The hard part will come - when i try to start indianer
:)
DONE!
try to start the apache?
Muz
You might need to copy the apache files over from the old SVN folder to the new one
Or use them as reference to edit th efiles in the new svn folder.
I thnk they may have moved about too. :/
sonypsx
ok tried to start
started success but got an error -> you don�t have permission
Muz
What's the exact command and exact error?
noodlesgc joined the channel
noodlesgc has left the channel
sonypsx
the start cmd (apache-perl start) was a success
but if i try to access the server over a browser i got
Forbidden - You don�t have permission to access / on this server