Details
I am trying to use phabricator for an internal project. The setup and install went through.
I imported a svn repository to phabricator. The imports goes through with all workers completing successfully within minutes.
I can browse the source code with the imported repository but for individual revisions i still see an error message saying "Commit Still Parsing
Failed to load the commit because the commit has not been parsed yet.".
I have went through other troubleshooting steps and have not been find why this would be the case.
Any thoughts on what i could try next?
Event Timeline
i just tried diffrent protocol. HTTPS vs HTTP.
the commandsran through the import process run fine but still can't view revision diffs.
Another things tried so far is using stable and master branch. But no difference.
Other than this i have tried importing from a different svn server but no luck so far.
i have a warning for old database version. could that be the problem?
I have a warning for old database version
I couldn't find any reference to "old database version" in the codebase, so I don't know what warning you are referring to. Are you talking about something you saw in Phabricator? If so, the actual message would be helpful.
This ticket is very vague and lacking any details for us to follow or try to reproduce. Our expectation is you will provide us with details on what happened, what versions of everything your running, what you typed into the command line, what exactly was returned, what's in your error logs, what every setting is, etc.
One thing you could try is launching a test instance on Phacility and see if you have any issues with your Repository there. That would determine if its an issue in Phabricator or with your local configuration.
I tried out phacility and still seeing the same error. I am going to try out creating a new SVN repository and import it. Will also be trying out a git repository.
My setup:
OS: CentOS release 6.7
Apache: 5.1.73-5.el6_7.1
Mysql: 5.1.73-5.el6_7.1
Php: 5.3.3-46.el6_7.1
- I did a clean install based on https://secure.phabricator.com/diffusion/P/browse/master/scripts/install/install_rhel-derivs.sh
- Two different things tried here so far. Using stable branch and master branch.
- Added configuration for mysql connections. sudo ./bin/config set mysql.host sudo ./bin/config set mysql.user sudo ./bin/config set mysql.pass
- Setup mysql schema with ./bin/stoarage upgrade.
- Configured apache using https://secure.phabricator.com/book/phabricator/article/configuration_guide/ and started service.
- Started phabricator sudo ./bin/phd start configured Freeing active task leases... Freed 0 task lease(s). Launching daemons: (Logs will appear in "/var/tmp/phd/log/daemons.log".)
PhabricatorRepositoryPullLocalDaemon (Static) PhabricatorTriggerDaemon (Static) PhabricatorTaskmasterDaemon (Autoscaling: group=task, pool=4, reserve=0)
Done.
- setup admin account on the login page
- resolved all setup errors except the following.
Old MySQL Version You are using an old version of MySQL which has poor unicode support (it does not support the "utf8mb4" collation set). You will encounter limitations when working with some unicode data.
We strongly recommend you upgrade to MySQL 5.5 or newer.
- imported a new repository from /diffusion/new/
- the import goes through fine without any issues. No errors in logs.
- At the end of import tried to open a diff for revision 15 using /R1:15 and i see following error. Commit Still Parsing Failed to load the commit because the commit has not been parsed yet.
the test instance is at test-7japztksvma2.phacility.com
I imported a small 15 commit repository.
Feel free to take a look at the instance. i did not see any errors there. All the daemons ran successfully.
I have taken down the public repository for time being.
I have taken down the public repository for time being.
This prevents us from investigating the issue.
i have restored the repository at http://ec2-52-49-69-145.eu-west-1.compute.amazonaws.com/svn/devpoets/
Does the repository needs to be imported again if the hostname changes?
Thanks, looking at this now.
I can probably take it from here, I'll let you know if I run into issues.
Thanks you for looking into it. I was able to sync svn repositories and view the diff.
Answers
https://secure.phabricator.com/book/phabricator/article/repository_imports/
has troubleshooting steps, have you looked into these?
Event Timeline
yes. used that document for troubleshooting purpose.
other than this i have tried just importing trunk folder.