Getting rid of the Update Notification

More
8 months 2 weeks ago - 8 months 2 weeks ago #150904 by rom
rom created the topic: Getting rid of the Update Notification
Hi,

I am updating our limesurvey installation manually, not using the comfort updater. Though I am running the newest version 170310 I am always getting the notification that there is a new security update available. See Screenshot attached. (sorry, german)

When clicking on the Update Button, I'll get forwarded to /admin/update/ but there is only the message that everything is up to date and no update available.

I can delete the notification using the button below, but it reappears after browsing a bit in the admin backend. Is there anything I can do to get rid of it?
Attachments:
Last Edit: 8 months 2 weeks ago by rom.

Please Log in to join the conversation.

More
8 months 2 weeks ago #150908 by holch
holch replied the topic: Getting rid of the Update Notification
Probably the file where the version is store has not been updated correctly. Have a look in the forum, there should have been similar questions. I can remember the file name where this is stored.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
8 months 2 weeks ago #150913 by rom
rom replied the topic: Getting rid of the Update Notification
I think I found it at /application/config/version.php

This is the content of the file, looks good to me:
$config['versionnumber'] = '2.64.1';
$config['dbversionnumber'] = 261;
$config['buildnumber'] = '170310';
$config['updatable'] = true;
$config['assetsversionnumber'] = '2641';
return $config;

tbh when I am updating, I am deleting almost all files before uploading the new version. Only exception is /upload/ and config.php - so I guess the wrong version is stored somewhere in the Database?

Please Log in to join the conversation.

More
8 months 2 weeks ago #150947 by jelo
jelo replied the topic: Getting rid of the Update Notification
Could be a bug too. The version.php values are OK.

Check if the /tmp directory inside LimeSurvey got some lost files from a updating process.

The database is normally only having a DBversion in table ??_settings_global.

Do you have a updater_version.php?
The following user(s) said Thank You: rom

Please Log in to join the conversation.

More
8 months 2 weeks ago - 8 months 2 weeks ago #151175 by rom
rom replied the topic: Getting rid of the Update Notification
I tried replacing the /limesurvey/tmp directory with a new empty directory, it looks like this did the trick! Though I have no idea why this was a problem in the first place, as I am completely deleting the /limesurvey/* folder when updating, which includes the /tmp/ subdirectory. All files within this directory could only be created after uploading the new version.

I have an updater_version.php which looks fine to me, also.
$config['updaterversion'] = 6;
$config['comfort_update_server_url'] = 'comfortupdate.limesurvey.org/';
//$config['comfort_update_server_url'] = 'web.comfortupdate.org/';
$config['comfort_update_server_ssl'] = 0;
return $config;

The content of the _settings_global table looks suspicious to me:
  • dbversion=261
  • updatebuild=120919
  • updateversion=1.92+
  • updatelastcheck=2014-11-11 23:16:23
  • updateavailable=0
  • updatecheckperiod=7

Looks like some of these values haven't been touched since the previous major release... do you think this is a problem?
Last Edit: 8 months 2 weeks ago by rom.

Please Log in to join the conversation.

More
8 months 2 weeks ago #151178 by jelo
jelo replied the topic: Getting rid of the Update Notification

rom wrote: do you think this is a problem?

These settings are mostly empty when I look at an uptodate installation with Comfortupdate.
So I don't see this as an issue for now.
The following user(s) said Thank You: rom

Please Log in to join the conversation.

More
8 months 2 weeks ago #151221 by DenisChenu
DenisChenu replied the topic: Getting rid of the Update Notification
If i remind : notfication is in $_SESSION when added : then didn't reset if we do a manual update of files.

Maybe now : someone set it in User params (in notification table).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: rom

Please Log in to join the conversation.

More
8 months 1 week ago #151901 by rom
rom replied the topic: Getting rid of the Update Notification
After updating to 2.64.3+170327 today, I had the same issue again, and I could not solve it by deleting the content of the /tmp/ directory.

No offense, DenisChenu, but I did not understand your posting in the first place, but now I get it: The notification is possibly stored within the Browser Session! So if anyone with this issue is reading this thread: Simply try to restart your browser. ;)

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!