Update available

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Update available

Post by OCReactive »

Script URL:
Mods for HESK version: 3.1.0
HESK version: 2.7.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: update, upgrade

Write your message below:

I updated the MfH time ago but now I've see that it still says that there is an update available, but I'm already in the last version.
Image
Óscar
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Re: Update available

Post by OCReactive »

That's weird, now it looks different:

Image

and when trying to update it says:

Installation Progress
Version Status
3.1.0 Update failed! Check the console for more information

Console
Severity Message
INFO Starting updates for 3.1.0
ERROR Could not execute query: ALTER TABLE `soporte_logging` ADD COLUMN `stack_trace` TEXT. MySQL said: Duplicate column name 'stack_trace'

When testing the DB:
Mods for HESK Database Validation
Success
Your database is valid
Óscar
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Update available

Post by mkoch227 »

Not sure how you caused your installation to go backwards... I'm guessing you do, in fact, have Mods for HESK 3.1.0 installed. If you run the database validator in the /install directory, does everything pass?

Also, I do see an issue with the update checker. It's using the old mods-for-hesk.mkochcs.com subdomain, but all requests to that URL redirect to mods-for-hesk.com. Instead of just redirecting and using that value, the update cache is holding some HTML instead, causing the false-positive. This will be fixed in a later version. You can safely ignore this for now.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Re: Update available

Post by OCReactive »

If you run the database validator in the /install directory, does everything pass?
Yes, everything passes with an OK.
This will be fixed in a later version. You can safely ignore this for now.
Nice, thanks!
Óscar
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Update available

Post by mkoch227 »

OCReactive wrote: Mon Aug 07, 2017 7:53 pm Yes, everything passes with an OK.
If your version is still showing 3.0.7 for some reason, you can run the following query in a SQL query runner (such as phpMyAdmin) to change your version back to 3.1.0:

Code: Select all

UPDATE `hesk_settings` SET `Value` = '3.1.0' WHERE `Key` = 'modsForHeskVersion'
Where "hesk_" is your DB prefix.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Jadzia
Posts: 9
Joined: Sun Oct 16, 2016 11:50 pm

Re: Update available

Post by Jadzia »

Hi

I'm having the same problem, and it is also telling me that I have an update for Hesk and yet its the latest version. Info below current as of 23rd August 2017.

HESK version: 2.7.3 - Update available Update HESK
Mods for HESK Version: 3.1.1 - Update available
PHP version: 7.0.16 (MySQLi)
MySQL version: 5.5.54-MariaDB
/hesk_settings.inc.php Exists, Writable
/attachments Exists, Writable
/cache Exists, Writable
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Update available

Post by mkoch227 »

Try deleting the following files in your cache directory (it's 'cache' by default):
- __latest.txt
- __lateest-mfh.txt

Then refresh the page. If you still see update notifications, please send me your helpdesk URL (assuming your helpdesk is publicly accessible).
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply