I know I'm late to upgrade.
I want to upgrade my old 2.3 to the last version. Is there any step by step instruction and links for necessary files?
Jump to content
Posted 30 July 2016 - 02:51 AM
The process to upgrade from 2.x to 3.x is rather tricky, it's mostly because 2.x is old, but it can be done.
Once you have upgraded to Traq 2.4.1 and downloaded and extracted the files Traq 3.0, run the migration script in the browser, here's a guide step by step guide:
# Upgrade to Traq 2.4.1 # First extract the files and setup the config file then head to: http://your.site/path/to/traq2.4.1/install/upgrade.php # Migrate to Traq 3.0 # Extract the files and setup the config file and head to: http://your.site/path/to/traq3.0/install/migrate.php # Upgrade to Traq 3.6 # Extract the files and setup the config file and head to: http://your.site/path/to/traq3.6/install/upgrade.php
Posted 02 August 2016 - 11:31 AM
Thank you for your response.
Upgrade to Traq 2.4.1 is done without problem.
But I have following error while Migrating to Traq 3.0 :
Warning: require(/home/mysite/public_html/traq/vendor/avalon/autoloader.php): failed to open stream: No such file or directory in /home/mysite/public_html/traq/install/bootstrap.php on line 24
Fatal error: require(): Failed opening required '/home/mysite/public_html/traq/vendor/avalon/autoloader.php' (include_path='.:/opt/php55/lib/php') in /home/mysite/public_html/traq/install/bootstrap.php on line 24
P.S. /home/mysite/public_html/traq/vendor/avalon folder is empty!
Posted 03 August 2016 - 11:54 AM
I'm trying to figure out the problem.
Working 2.4.1 database and files backup has been taken. Traq 3.0 files extracted on the working 2.4.1 files.
I downloaded Avalon framework from https://github.com/nirix/avalonand extracted in /home/mysite/public_html/traq/vendor/avalon/ directory.
/home/mysite/public_html/traq/vendor/traq/config/database.default.php file has renamed to database.php and configured.
Migration successfully completed after running .../install/migrate.php, but does not display expected. Database seems to be ok, I'm not sure. Is it possible that Avalon was incorrectly installed or configured?
After ../install/migrate.php, I get this :
Migration Completed You may now login.
after login (without error) only this screen comes:
* Login * Register Traq * Projects Powered by Traq 3.0 © 2009-2016 Traq.io
None of the above links does work. Any idea?
I would be appreciate for your support.
Posted 04 August 2016 - 08:38 AM
Oh, sorry. I had forgotten the GitHub archives I linked didn't include the Avalon submodule. I'll have to fix that when I get some time.
As for the links not working, renaming "htaccess.txt" to ".htaccess" should fix that.
If there are any other issues, try cloning the git repository and checking out the version you need and pulling in the submodule(s) like so:
git clone https://github.com/nirix/traq.git git checkout v3.0 git submodule init git submodule update cp htaccess.txt .htaccess
Posted 05 August 2016 - 10:52 AM
After the successful upgrade from 3.0 to 3.6, the results again like the previous one, unfortunately.
In addition, I tried 3.7 instead of 3.6. The result is the same.
Database seems to be ok.
* Login Traq * My Project1 * My Project 2 * Projects Powered by Traq 3.7.0 © 2009-2016 Traq.io
Is there any other instruction can be forgotten? or any ather idea?
Posted 09 August 2016 - 03:58 PM
I had already copied "htaccess.txt" to ".htaccess".
I noticed that error_log file has following error:
[~/public_html/traq]# tail error_log [09-Aug-2016 10:28:56 America/Chicago] PHP Fatal error: Call to undefined method avalon\http\Request::init() in /home/mysite/public_html/traq/css.php on line 39
I tried to download avalon again:
[~/public_html/traq/vendor/avalon]# git clone https://github.com/nirix/avalon.git
now everything is working properly
Thank you for your effort!
0 members, 0 guests, 0 anonymous users