Uvaavu Posted December 9, 2013 Report Share Posted December 9, 2013 I installed 5 (PlasticSCM-5.0.44.513) over 4.1 (PlasticSCM-4.1.10.460), migrating the MySQL database in the process. 4.1 remained installed however and on running 5 the existing repositories were not visible, just a new blank DB. I was unable to get the existing DB to show, so uninstalled 5 and re-ran 4.1. This also did not work and no repositories were visible. I then installed PlasticSCM-4.1.10.500 over the top of the previous 4.1 installation and likewise this also did not work. Attached are the DB's that were created in MySQL by the various installations - we have 10-15 repositories in total, and the original installation had a db_suffix of "_dev". At this point all i want to acheive is 4.1 with the originally created repositories available again. Link to comment Share on other sites More sharing options...
Uvaavu Posted December 10, 2013 Author Report Share Posted December 10, 2013 Alternately: Instructions on how to install a new server against an existing DB would be helpful - I've tried doing this and it simply creates new schema's instead of reusing the existing ones. Link to comment Share on other sites More sharing options...
manu Posted December 10, 2013 Report Share Posted December 10, 2013 Hi Uvaavu, please review the db.conf file you are having in the Plastic SCM 5 installation, make sure it's connecting with the mysql and it has the right suffix. If the databases are upgraded to 5 they will not be able to be used with Plastic SCM 4. Alternative please post us the log file (plastic.server.log) to review what's happening. Link to comment Share on other sites More sharing options...
Uvaavu Posted December 11, 2013 Author Report Share Posted December 11, 2013 Here's the v4 config file, the new v5 and logs. The MYSQL tables do not appear to have been updated from 4->5 from this log, as there are many (you can see this in the original image I uploaded, assuming that Plastic Does create 1 new schema per repository). v4_db.conf.txt v5_db.conf.txt v5_plastic.server.log.txt v5_upgrade.log.txt Link to comment Share on other sites More sharing options...
Uvaavu Posted December 11, 2013 Author Report Share Posted December 11, 2013 Ok, fixed this through backups and VM snapshots. The 'repositories_dev' DB (that i assume contains the metadata for all reso's?) had been overwritten during the upgrade, losing all previous information about existing repo's. We rolled back to a VM snapshot of hte server from a few weeks ago, then i overwrote all the rep_xx_dev folders with the ones from our broken server and brought the services back up - everything is there as far as i can tell. Link to comment Share on other sites More sharing options...
manu Posted December 12, 2013 Report Share Posted December 12, 2013 Hi! I'm happy to hear it's working again Yes, the "repositories" database stores the mapping of the known repositories with their names. The thing you mention about overwriting the info is extremely weird since we don't do that, we just simply read if the file is present otherwise a new one is created. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.