Loading...
 
Architecture / Installation

Architecture / Installation


Image Galleries Broken after 24 Upgrade

posts: 16

I just upgraded from Tiki 21.5 to 24.0 and it appears all of my image galleries are broken. PHP=7.4 on mysql. I can't seem to find a Image Gallery tile under

Example Link
http://www.MYDOMAIN.com/tiki-24.0/tiki-browse_gallery.php?galleryId=95

I get a barebones HTML error page
"No route found. Please see http://dev.tiki.org/URL+Rewriting+Revamp"

Also a second but likely related problem is on my HomePage, I had a random rotating image display module.

Error...
Failed to execute "VFR400" module
Syntax error in template "eval:{gallery id=2 showgalleryname=0}" on line 1 "{gallery id=2 showgalleryname=0}" unknown tag 'gallery'

I'm also getting a "rebuild your index" message in the admin panel. Says to run "php console.php index:rebuild" But that yields an error ...
error: Unsupported index type "lucene". Needs to be one of "mysql" or "elastic". Try resaving the Search Control Panel
error: Contact the site administrator. The index needs rebuilding.

posts: 3656 United States
purcellj wrote:
I just upgraded from Tiki 21.5 to 24.0 and it appears all of my image galleries are broken.


The Image Gallery feature was deprecated quite a while back (Tiki 18, maybe?), and finally removed in Tiki 23 — use the File Gallery instead

For details see:


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 18

Hi,
I did the same update - being aware of the removal of the image gallery module.
Nevertheless I had expected a migration function to convert the image galleries to file galleries! I was surprised that there was none.

For me this is no problem NOW, since I just built up my site, having just between 10 and 20 images in 2 galleries by now. But my old server with the prior BB software hosts > 100.000 pictures linked in > 500.000 different Forum postings...

What would have been the migration path for such site?

Best regards
Uli

posts: 3656 United States
Uli wrote:
What would have been the migration path for such site?


There's a Migrate option in the Image gallery control panel that you can use:
Migrate

And, in the File Gallery control panel, there's a Redirect to file gallery option, that will handle the redirects from the old Image Gallery to the File Gallery.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 8512 Israel

I just added information the page : https://doc.tiki.org/Image-Gallery#Migrate_from_Image_gallery_to_File_Gallery

I asked different people and add what information I could find.
I also did a fake test to have screenshot and it seems to do the job.

Hope this helps, please improve the documentation during your test.
Let us know...


posts: 18

Hi Rick, hi Bertrand,
thanks for your replies. I will not test it, since I have already done the update and to upload the files missing now is 5 minutes to me.

I think I have not seen a link to that page in the "how to upgrade 21 -> 24", maybe it would be a good idea to add it there!?

Best regards
Uli

posts: 16

Is there any way to use the migration tool on v24?
And thanks for the replies everyone!
John

Uli wrote:

Hi Rick, hi Bertrand,
thanks for your replies. I will not test it, since I have already done the update and to upload the files missing now is 5 minutes to me.

I think I have not seen a link to that page in the "how to upgrade 21 - 24", maybe it would be a good idea to add it there!?

Best regards
Uli


posts: 16

Hi Bernard
Thank you for the reply.

So the image galleries worked in v21. The installer hasn't migrated the image galleries. I have 5-6 file galleries, but I have 20-30 image galleries.

Is there any way to recover these? I can't downgrade the version. and it's hosed in v24.

Any ideas?
TIA
John

Bernard Sfez / Tiki Specialist wrote:

Hi purcellj,

My understanding was that the install script is supposed to migrate automatically.
The manual options were available to test as long as the Image Gallery feature was in Tiki.

I'm not sure to how many people it will be useful but I suggest you to create a Wish at : https://dev.tiki.org/Make-a-wish

posts: 8512 Israel
purcellj wrote:

Is there any way to recover these? I can't downgrade the version. and it's hosed in v24.

Any ideas?
TIA
John


Hi John,

With 20-30 pictures, at your place, I would try to avoid a migration and prefer clean file upload.

Use a backup of the database, install a Tiki 21 and download the few pictures you have. Open the Tiki 24 and upload them in files galleries.

But... may be you don't have a backup of the database? (you should have somewhere and may be you don't know)

If so I'm not sure if the tables are somewhere in your database.

Look to me that this require a deeper check. Feel free to contact me in private or any Tiki consultants available and able to help.

I would also create a ticket at dev.tiki.org and explain the issue and situation. (no auto-migration and no warning, no way to do a migration once on Tiki 24, what you experienced, etc)


posts: 16


Sorry for the slow response.
As an IT guy, yes I had a back up!

I restored the tiki 9.6 files
I restored the database
I downgraded PHP back to 5.6

And all is right with the world. Thanks for all of the help! I will start the upgrade process again. Once I get to v21 I will pause to make sure I can convert the image galleries.

Thank you again!


posts: 8512 Israel

Hi John,

If I may give some advises.
Upgrading from Tiki 9 to Tiki 21 will be quite an adventure in one shot. They are also things about database, encoding, etc. that have been changed.

If you have a proper environment (like a Cpanel that allow PHP version selection) I would try to upgrade LTS by LTS. (9 => 12 => 15 => 18 => 21 ...)

At each step you should be able to fix little things that will allow the next step without errors or warnings. You may also to work on the database itself around Tiki18-21 (like encoding and InnoDB conversion).

Thanks to many people works and investment in Tiki from Tiki15 and up you will have more and more option to solve and get reports/logs.

Finally at Tiki21 you will be able to use the conversion script for Image Gallery => File Gallery OR to download your 20-30 images and simply batch upload them into your new Tiki.

Good luck and let us know how it goes.

posts: 16

Hi Bernard
So 2 problems. I'm still on v18.8

1) Ages ago I added a "module" to the left rail (under the Menu — I'm using all default templates) which has a rotating image from a specific image gallery. I need to remove that but I can't find where that's controlled from. Any ideas?

2) I pressed the Convert Image Galleries to File Galleries button, but it didn't do anything. Ok, it created a File Gallery called "Migrated Image Galleries", but there is nothing in it. Thoughts?

Thanks
John



Bernard Sfez / Tiki Specialist wrote:

Hi John,

If I may give some advises.
Upgrading from Tiki 9 to Tiki 21 will be quite an adventure in one shot. They are also things about database, encoding, etc. that have been changed.

If you have a proper environment (like a Cpanel that allow PHP version selection) I would try to upgrade LTS by LTS. (9 = 12 = 15 = 18 = 21 ...)

At each step you should be able to fix little things that will allow the next step without errors or warnings. You may also to work on the database itself around Tiki18-21 (like encoding and InnoDB conversion).

Thanks to many people works and investment in Tiki from Tiki15 and up you will have more and more option to solve and get reports/logs.

Finally at Tiki21 you will be able to use the conversion script for Image Gallery = File Gallery OR to download your 20-30 images and simply batch upload them into your new Tiki.

Good luck and let us know how it goes.

posts: 8512 Israel

Hello John,

Please in the future create new topic for different subjects.
Pilling questions in a single thread creates confusion.
(check Settings=>Modules)

Why don't you try from Tiki21 as we suggested ?
I think we've reach some limit in what is possible to from a forum.

I kindly suggest you contact me in private or any other Tiki consultant.


PS: The screenshot you posted reminded me I have a VF750C stored in a garage in France. 😎

posts: 16

DM sent
Happy to talk to another MC rider.
John


Bernard Sfez / Tiki Specialist wrote:

Hello John,

Please in the future create new topic for different subjects.
Pilling questions in a single thread creates confusion.
(check Settings=Modules)

Why don't you try from Tiki21 as we suggested ?
I think we've reach some limit in what is possible to from a forum.

I kindly suggest you contact me in private or any other Tiki consultant.




PS: The screenshot you posted reminded me I have a VF750C stored in a garage in France. 😎

posts: 16
purcellj wrote:

DM sent
Happy to talk to another MC rider.
John


Weird. I sent you a DM last night...not in my sent folder. And I didn't receive a DM from you.

I'll email you directly.

posts: 16
purcellj wrote:

Weird. I sent you a DM last night...not in my sent folder. And I didn't receive a DM from you.

I'll email you directly.


My bad. I didn't DM you ... but I did email you. Subject line is "Hi Bernard" please check spam from john@...


posts: 16

Hi Bernard
Thanks for the advice. When I previously tried this upgrade, I did exactly what you suggested. 9 >> 12 >> 15 >> 18 >> 21
It worked very well, so I will be repeating that approach again.

I did the same this evening except I stopped at v18. I wanted to take another complete backup (db and tiki files) before continuing. I have those files downloading locally now.

I do have cpanel. I believe at v21 I need to upgrade php to v7.3. So later this week I'll do the php upgrade, tiki v21 upgrade then look at the image gallery conversion.

Again THANK YOU!
John