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.
2009-04-19 10947, 2009
Muz
Errm, actually you'll need to ditch the already existing DB and recreate them with the new checkout too.
2009-04-19 10903, 2009
sonypsx
ok done the svn
2009-04-19 10927, 2009
Muz
Okay, cd to the newly made directory
2009-04-19 10928, 2009
sonypsx
now under svn dir a got mb_server and mb_server-20081123
2009-04-19 10942, 2009
Muz
Then ./admin/psql SYSTEM
2009-04-19 10948, 2009
Muz
Waiy, scratch that
2009-04-19 10954, 2009
sonypsx
ok
2009-04-19 10956, 2009
Muz
Before that, cd mb_server-20081123 and edit DBDefs.pm
2009-04-19 10913, 2009
Muz
Make sure it has the corret values, you can reference the DBEfs.pm file in the older directory for what should be i there.
2009-04-19 10935, 2009
sonypsx
thats the first fault ....
2009-04-19 10945, 2009
sonypsx
if you do the svn co thing
2009-04-19 10914, 2009
sonypsx
the newly received dir has now admin/DBDefs.pm file neigther DBDefs.pm.default
2009-04-19 10950, 2009
sonypsx
the newly received dir has no admin/DBDefs.pm file neigther DBDefs.pm.default
2009-04-19 10907, 2009
Muz
Hmm, it may be located in the root of the new svn co'd folder instead.
2009-04-19 10931, 2009
Muz
It's in cgi-bin
2009-04-19 10951, 2009
Muz
So yeah, in the new folder, you can cp cgi-bin/DBDefs.pm.default cgi-bin/DBDefs.pm
2009-04-19 10959, 2009
Muz
And then edit cgi-bin/DBDefs.pm
2009-04-19 10936, 2009
sonypsx
done
2009-04-19 10948, 2009
sonypsx
created also a secret value
2009-04-19 10912, 2009
Muz
Okay, from the new folder, now try running adming/psql SYSTEM
2009-04-19 10926, 2009
Muz
This should give you a Postgres prompt if your DBDefs is correct
2009-04-19 10907, 2009
sonypsx
i got a prompt now ... template1#
2009-04-19 10923, 2009
Muz
Okay good
2009-04-19 10943, 2009
Muz
You need to drop the old databases that were created with the old script version
2009-04-19 10953, 2009
Muz
You can do that with "DROP DATABASE musicbrainz_db;"
2009-04-19 10953, 2009
sonypsx
ok i know how ...
2009-04-19 10959, 2009
Muz
And "DROP DATABASSE musicbrainz_db_raw;"
2009-04-19 10902, 2009
Muz
Ah okay.
2009-04-19 10922, 2009
sonypsx
dropped
2009-04-19 10953, 2009
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.
2009-04-19 10943, 2009
Tim|Paperclip has quit
2009-04-19 10943, 2009
sonypsx
if i try now the admin/Initdb thing then i will get an error - i�m sure :(
2009-04-19 10935, 2009
Muz
Well try it and see what the error says, and we'll go from there. ;)
2009-04-19 10948, 2009
sonypsx
ok ...
2009-04-19 10901, 2009
pronik has quit
2009-04-19 10910, 2009
sonypsx
i�ll do now the perl ./admin line ....
2009-04-19 10920, 2009
sonypsx
ok mbdump/cdtoc ... and ongoing
2009-04-19 10930, 2009
sonypsx
mddump/puid
2009-04-19 10935, 2009
sonypsx
mbdump/puid
2009-04-19 10955, 2009
sonypsx
mbdump/track
2009-04-19 10904, 2009
sonypsx
this is a long one i know :)
2009-04-19 10936, 2009
sonypsx
i this works then i know whats wrong
2009-04-19 10955, 2009
Muz
Heh
2009-04-19 10911, 2009
sonypsx
there is a "mv mb_server mb_server-20081123" line in this forum howto
2009-04-19 10928, 2009
sonypsx
and that just mess up all
2009-04-19 10949, 2009
Muz
Mind linking to the forum post, I'm intrigrued.
2009-04-19 10950, 2009
sonypsx
ok the script loads now artist
2009-04-19 10925, 2009
sonypsx
id=1224
2009-04-19 10907, 2009
sonypsx
already load track
2009-04-19 10931, 2009
sonypsx
50% and ongoing
2009-04-19 10902, 2009
sonypsx
sadly vm could not handle more cpu�s :)
2009-04-19 10905, 2009
sonypsx
now creating indexes
2009-04-19 10941, 2009
futilius joined the channel
2009-04-19 10920, 2009
sonypsx
still on the indexes
2009-04-19 10950, 2009
sonypsx
Muz?
2009-04-19 10958, 2009
Muz
Yes??
2009-04-19 10919, 2009
sonypsx
Ah ok .. thinking you are deepreading the forumpost :)
2009-04-19 10940, 2009
Muz
Nah, nothing to say whilst that churns away.
2009-04-19 10926, 2009
sonypsx
Ok
2009-04-19 10950, 2009
sonypsx
Index creating done ... now some Alter Table Op�s
2009-04-19 10927, 2009
sonypsx
some warnings about skipping pg_authid and vacuum it
2009-04-19 10919, 2009
Muz
That's fine
2009-04-19 10952, 2009
sonypsx
The hard part will come - when i try to start indianer
2009-04-19 10903, 2009
sonypsx
:)
2009-04-19 10955, 2009
sonypsx
DONE!
2009-04-19 10925, 2009
sonypsx
try to start the apache?
2009-04-19 10944, 2009
Muz
You might need to copy the apache files over from the old SVN folder to the new one
2009-04-19 10951, 2009
Muz
Or use them as reference to edit th efiles in the new svn folder.
2009-04-19 10957, 2009
Muz
I thnk they may have moved about too. :/
2009-04-19 10911, 2009
sonypsx
ok tried to start
2009-04-19 10938, 2009
sonypsx
started success but got an error -> you don�t have permission
2009-04-19 10940, 2009
Muz
What's the exact command and exact error?
2009-04-19 10942, 2009
noodlesgc joined the channel
2009-04-19 10945, 2009
noodlesgc has left the channel
2009-04-19 10913, 2009
sonypsx
the start cmd (apache-perl start) was a success
2009-04-19 10931, 2009
sonypsx
but if i try to access the server over a browser i got
2009-04-19 10901, 2009
sonypsx
Forbidden - You don�t have permission to access / on this server