TACTIC Open Source
Sample Projects - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: Sample Projects (/showthread.php?tid=133)



Sample Projects - Dag - 06-06-2020

Hi,

how can I get the sample projects in to the new version 4.7/4.8?
Should I install the latest 4.5 version and dump the DB and restore it in 47./48 or is there another way?

Best,
Dag


RE: Sample Projects - listy - 06-06-2020

You can upgrade 4.5 to 4.8.
But, sample projects seems to be created with TACTIC 4.1 or earlier, and could not work in latest versions.


RE: Sample Projects - Bob.K - 07-25-2020

Hey,

I actually got the samples projects imported in tactic 4.7 and as fas as i could test they do work. I made a database-backup from the 4.5 VM-Version and copied the assets folder.
Here you can download the files if you want: https://drive.google.com/drive/folders/11ygo4Kqg_FZsH4xktVZqcyYlXlHeWp54?usp=sharing

And here is the instruction:

1. Upload assets.tar and database.sql to your server and copy .tar file to /opt/tactic/assets and extract it.
tar -xf assets.tar -C /opt/tactic/assets
chown tactic:tactic -R /opt/tactic/assets
chmod 755 -R /opt/tactic/assets

2. Now copy the .sql file to /opt/tactic/src/bin and use following commands to upgrade the database.
systemctl stop tactic
cd /opt/tactic/src/bin
psql -U postgres < exampleProjectsdatabase.sql
su -s /bin/bash tactic
python3 /opt/tactic/tactic/src/bin/upgrade_db.py
su root
systemctl start tactic


Just so you know, i restored the database on a fresh tactic-installation...so i don't know what would happen with your old projects.