SVN - GIT Transition not working for me
ashokjp
Joined: 2009-05-27
Posts: 14 |
Posted: Wed, 2009-05-27 19:45 | |||||
Till the time the gallery3 was running on svn, things went fine, but now when it is on GIT, it is not working properly for me. I shall explain my situation I am running application on windows. I have installed git and cloned a copy of gallery3 with it(tried via tortoisegit and also simply google git ). In either cases after cloning when i run gallery3 installer, after entering database details, it says gallery3.users table not found I first thought its because i was running mysqlv4. so i setup a wamp with mysql and php version as mentioned in readme. even that dint work. then again i setup latest wamp with php and mysql5, even that dint work. screenshots The var directory is created, database gets created but tables are not published. The var/logs directory is empty then i went to
|
||||||
Posts: 7994
There were some issues with the web installer that happened because of changes I made right after the git migration. I've fixed those, and as of this moment it's working fine for me. However, you're on Windows so that may be an issue. If you can reproduce this on Linux, I'll be more than happy to investigate.
---
Gallery 3 problems? Check gallery3/var/logs before you post!
Gallery 3 latest code: http://github.com/gallery/gallery3/zipball/master
Gallery 3 from git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 14
Its still an error for me. I am using tortoisegit to clone ?
Posts: 14
I just tried cloning now and installing, still the same error.
Posts: 7
Getting the same issue in windows (Fails to install, ie database not created), this was after getting blank site in linux from fresh install via git (Completes install no problem, when you go to the gallery it's blank).
Posts: 7
Seems to be fixed in the latest git ;)
Posts: 14
its stil the same for me from the latest installation from git. I reinstalled gift, followed each instruction step by step as on
http://codex.gallery2.org/Gallery:Using_Git
It still gives same error. But the same time, when i download from
http://github.com/gallery/gallery3/zipball/master
and install, it works fine.
so its surely something related to git and windows. plz note, i had no issues with svn.
Posts: 27300
Are you still on windows?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 56
Glad to find this thread and I'm not alone, I have the exact same error trying to run the installer.
Decided to finally try a test Gallery3, found I needed to install git to "get it", went through the process and git looked to download a clone using the Windows bash version of git.
Since I've never heard of or used git before (use svn on dozens of open source projects) I wasn't sure if there was a way to clean the git files out of the clone before uploading them to the server. My local clone directly had one 12mb+ file in the /.git/objects/pack directory, is that normal? I didn't upload the .git directory to the server.
I'd like to try it out if this can be cleared up.
Damon Linkous
Catamaran Sailing at TheBeachcats.com
Posts: 7
When I got it working, I choose these options during the setup of git.
Full installer 1.6.3
Adjusting your PATH environment
Option 2: "Run Git from Windows Command Prompt"
Choosing the SSH executable
Option 2: "Use PLink"
Choosing CR/LF behavior
Option 1: "Use Unix style line endings"
I also used a freshly downloaded copy of XAMPP Lite 1.7.1
Once it installed okay, before the gallery would load I would need to make a small edit in config.php
"C:\g3\htdocs\application\config\config.php" (path will vary depending where you put XAMPP & Gallery3)
Line 26: $config["site_domain"] = 'localhost';
Hope this is of some help.
Oh! if you've been used to using TortoiseSVN, you could try TortoiseGit (Beta)
Posts: 14
I am using TortoiseGit only. that was a total failure. anyways i will try updating with proceedures you mentioned.
Posts: 14
Thanks boss, this worked for me.. kudos!!!!!
Posts: 7
Glad it helped ;)
Posts: 7994
@damon18: if you don't want the extra .git overhead, grab a copy of the latest code from my link below instead.
---
Gallery 3 problems? Check gallery3/var/logs before you post!
Gallery 3 latest code: http://github.com/gallery/gallery3/zipball/master
Gallery 3 from git: http://codex.gallery2.org/Gallery:Using_Git