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
[img]http://gallery.menalto.com/files/1_9.jpg[/img]
[img]http://gallery.menalto.com/files/2_5.jpg[/img]

The var directory is created, database gets created but tables are not published. The var/logs directory is empty

then i went to
http://github.com/gallery/gallery3/tree/master
clicked download and downloaded the installation files
I opened zip and gave files for extraction to the earlier git cloned folder
Windows started showing dialog boxes confirming overwrite with "file size changes"
What i was seeing is the files cloned from git, had a lower size (many of them) than the one i am extracting from the zip

AttachmentSize
1.jpg72.85 KB
2.jpg75.27 KB
 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2009-05-30 01:07

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

 
ashokjp

Joined: 2009-05-27
Posts: 14
Posted: Sat, 2009-05-30 08:19

Its still an error for me. I am using tortoisegit to clone ?

 
ashokjp

Joined: 2009-05-27
Posts: 14
Posted: Sat, 2009-05-30 14:30

I just tried cloning now and installing, still the same error.

 
paulrobert

Joined: 2009-02-04
Posts: 7
Posted: Mon, 2009-06-01 03:22

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).

 
paulrobert

Joined: 2009-02-04
Posts: 7
Posted: Tue, 2009-06-02 14:53

Seems to be fixed in the latest git ;)

 
ashokjp

Joined: 2009-05-27
Posts: 14
Posted: Tue, 2009-06-02 20:22

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.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-06-02 23:08
ashokjp wrote:
so its surely something related to git and windows.

bharat wrote:
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.

Are you still on windows?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
damon18
damon18's picture

Joined: 2002-10-29
Posts: 56
Posted: Thu, 2009-06-04 03:25

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

 
paulrobert

Joined: 2009-02-04
Posts: 7
Posted: Thu, 2009-06-04 04:34

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)

 
ashokjp

Joined: 2009-05-27
Posts: 14
Posted: Thu, 2009-06-04 11:04

I am using TortoiseGit only. that was a total failure. anyways i will try updating with proceedures you mentioned.

 
ashokjp

Joined: 2009-05-27
Posts: 14
Posted: Thu, 2009-06-04 11:20
paulrobert wrote:
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)

Thanks boss, this worked for me.. kudos!!!!!

 
paulrobert

Joined: 2009-02-04
Posts: 7
Posted: Thu, 2009-06-04 13:20
ashokjp wrote:
Thanks boss, this worked for me.. kudos!!!!!

Glad it helped ;)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-05 04:15

@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