G3-Beta3 install problem - table type doesn't support FULLTEXT indexes

Geoff Cloake

Joined: 2009-06-24
Posts: 31
Posted: Tue, 2009-09-15 12:33

Installed G3-beta3 into local server and now receive this error:

"Failed to create tables in your database:The used table type doesn't support FULLTEXT indexes"

15 Tables install OK

I never had this problem when installing earlier versions on my localserver. Can you help me please.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2009-09-15 16:50

is your MySQL server using innodb as storage engine by default?

looks like we'll need to force the MySQL storage engine of the search_records table to MyISAM. other engines don't support fulltext search index.

see:
http://dev.mysql.com/doc/refman/5.1/en/storage-engines.html

i filed a bug to track this:
https://sourceforge.net/apps/trac/gallery/ticket/774

 
Geoff Cloake

Joined: 2009-06-24
Posts: 31
Posted: Wed, 2009-09-16 00:34

OK - reset the storage engine default and it has installed properly now. This will be alright as it it only my test server, but could cause problems if there are other apps using it.

 
prescottp
prescottp's picture

Joined: 2005-06-29
Posts: 8
Posted: Thu, 2009-09-17 06:32

I'm having this problem, too, when installing. I'm installing on the RackSpace Cloud, using Cloud Sites for maximum scalability. Unfortunately though, there aren't many options to change this on their backend. So, in PHPMyAdmin--

Select your server and login. Then select the database, then click on one of the tables on the left. All I know how to do is by doing each one manually, but there aren't too many of them.
So, once you click the table, click the operations tab. Then under "table options" change the "storage engine" from InnoDB to MyISAM. That's what I think he is recommending.

"InnoDB free: 0 kB" is what it says before I change to the MyISAM option. Does that mean anything to anybody? Perhaps it's out of some kind of allocated memory for an InnoDB process, but I don't know much about databases so I can't really claim any expertise.

 
prescottp
prescottp's picture

Joined: 2005-06-29
Posts: 8
Posted: Thu, 2009-09-17 06:36

Damn-- Here's what I get next in the install process... "The database you provided already has Gallery 3 tables in it. Continuing with the install would overwrite your existing install. Please either use a different database, delete the old tables, or choose a different table prefix."

 
prescottp
prescottp's picture

Joined: 2005-06-29
Posts: 8
Posted: Thu, 2009-09-17 13:20

The command it is running is ALTER TABLE `items` ENGINE = MYISAM
But I can't apply this to the entire database because when I wipe it clean it just reinstalls tables with InnoDB... Any suggestions on how to get MyISAM to be the default without having root access or SSH access on the server?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Thu, 2009-09-17 23:48

http://sourceforge.net/apps/trac/gallery/ticket/774
is fixed, try an experimental version.
FAQ: How do I upgrade?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Zaraza

Joined: 2009-08-11
Posts: 7
Posted: Wed, 2009-10-28 23:07

I tried the experimental version (28.10.2009 release), the links do not work at all and server gives responses like "cannot find file" or "bad gateway".

How it is possible to fix the problem with MyISAM, so that BETA-3 version could be used?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Thu, 2009-10-29 01:15
Quote:
the links do not work at all

What links?

Quote:
so that BETA-3 version could be used?

Don't use beta3 use an experimental version:
FAQ: How do I upgrade?
Or wait for a release candidate.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Zaraza

Joined: 2009-08-11
Posts: 7
Posted: Thu, 2009-10-29 09:37

Just downloaded the latest experimental version, setup goes well the first front pages opens ok, but no internal gallery links in the admin section work!

They simply do not work at all e.g. "Add -> Add photos"

or

e.g. "Admin -> Appearance -> Theme choice" I receive the following message "Bad Gateway. Web server received an invalid response while acting as a gateway or proxy server."

What is the most interesting thing - I have installed and running Gallery2 ver.2.3 on the same web server, but on seperate DB and everything works great!

The only thing that I can think of is that the server OS is Windows based, but it should not have an impact on the gallery, because it uses PHP5 and mysql.

Looking forward to any suggestions?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-10-29 13:01

The only supported platform for G3 is:

Linux
PHP 5.2.3 or newer
MySQL 5 or newer
Apache 2.2 or newer

Bad Gateway makes it sound like you've got some firewall or proxy on the server.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Zaraza

Joined: 2009-08-11
Posts: 7
Posted: Thu, 2009-10-29 19:14

But why the G2 works like a charm on the same server and the same settings?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-10-29 19:28

Read about our choice here:
http://gallery.menalto.com/gallery_3_begins

They are 2 completely different programs. Yes, they do the same basic stuff, but G1, G2, G3 are as different as DOS, Windows, Linux and Mac are. They do the same thing, but they all work completely differently.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
horustwohawks

Joined: 2009-12-13
Posts: 6
Posted: Sun, 2009-12-13 19:02

I am posting this in the threads I find with this problem.. I had this today as well...

After downloading Gallery 3 Beta 3 FROM THE MAIN PAGE I get the error:
"The used table type doesn't support FULLTEXT indexes"

This is because as of mySQL version 5 the default table type is INNO, not MyISAM -->> confirmed.

Someone had posted this link for updating as a fix...
http://github.com/gallery/gallery3/commit/9d76797b17d65540a903ef37eee6edca3e83108b
HOWEVER,
It appears the commits listed in that link are not included in gal3 Beta 3, which is weird because the date is correct.
??? why ???

GET THE RIGHT ONE HERE -->>
I had to go to the github tree and download the latest release (beta 3 in swing).
Here's the link..
http://github.com/gallery/gallery3/tree/

This not only has all the sept changes, but its current thru today, and it installs just fine ;^)

Cheers ;^)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-12-14 14:31

please don't post the same post in multiple theads:

Beta3 was a milestone release and was released on 9/12. The fixes you linked to were done on 9/16. So there's no way they could have ever made it into B3. What probably happened is that once B3 was released, more people tried it, someone found the bug, reported it, and it was fixed a few days later.

http://codex.gallery2.org/Gallery3:Upgrading

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here