Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question Upgrade Kunena 1.7 to 4.0.7 fails - Undefined error

More
10 years 10 months ago #172221 by Arthur
Thanks for your replies.

810 wrote: what i do with migration is:
1) Update on j1.5 k1.7 to 2.0.4


So, I'm doing it but I have a query taking a very long time (more than 14 hours so far). I think it is long for a not so big forum ( 3145 topics, less than 33000 replies).

The query is :
Code:
UPDATE jos_kunena_topics AS tt INNER JOIN ( SELECT m.thread, m.hold, COUNT(DISTINCT m.id) AS posts, COUNT(a.id) as attachments, MIN(m.time) AS mintime, MAX(m.time) AS maxtime FROM jos_kunena_messages AS m LEFT JOIN jos_kunena_attachments AS a ON m.id=a.mesid WHERE m.moved=0 GROUP BY m.thread, m.hold ) AS c ON tt.id=c.thread INNER JOIN jos_kunena_messages AS mmin ON c.thread=mmin.thread AND mmin.hold=tt.hold AND mmin.time=c.mintime INNER JOIN jos_kunena_messages AS mmax ON c.thread=mmax.thread AND mmax.hold=tt.hold AND mmax.time=c.maxtime INNER JOIN jos_kunena_messages_text AS tmin ON tmin.mesid=mmin.id INNER JOIN jos_kunena_messages_text AS tmax ON tmax.mesid=mmax.id SET tt.posts=c.posts, tt.attachments=c.attachments, tt.first_post_id = mmin.id, tt.first_post_time = mmin.time, tt.first_post_userid = mmin.userid, tt.first_post_message = tmin.message, tt.first_post_guest_name = mmin.name, tt.last_post_id = mmax.id, tt.last_post_time = mmax.time, tt.last_post_userid = mmax.userid, tt.last_post_message = tmax.message, tt.last_post_guest_name = mmax.name WHERE moved_id=0 AND (tt.id BETWEEN 1 AND 95020)

Does it seem ok ?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #172228 by xillibit
The query try to update 95020 items into database so it's the season why too slow

I need to check if we can split this query into differents queries in case where you have too much items into database

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #172624 by Arthur
So, it's updating 3 times the numbers of messages.

Anyway, I think I'll give up and start with a forum from scratch, it seems to be a mess to upgrade a this old forum (not your fault guys :)).

Please Log in or Create an account to join the conversation.

Time to create page: 0.110 seconds