- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Getting rid of the Update Notification
- rom
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month ago - 7 years 1 month ago #150904
by rom
Getting rid of the Update Notification was created by rom
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?
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: 7 years 1 month ago by rom.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
7 years 1 month ago #150908
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on 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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- rom
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 1 month ago #150913
by rom
Replied by rom on 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:
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?
This is the content of the file, looks good to me:
Code:
$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?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 1 month ago #150947
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on 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?
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 meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: rom
The topic has been locked.
- rom
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 1 month ago - 7 years 1 month ago #151175
by rom
Replied by rom on 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.
The content of the _settings_global table looks suspicious to me:
Looks like some of these values haven't been touched since the previous major release... do you think this is a problem?
I have an updater_version.php which looks fine to me, also.
Code:
$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: 7 years 1 month ago by rom.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 1 month ago #151178
by jelo
So I don't see this as an issue for now.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Getting rid of the Update Notification
These settings are mostly empty when I look at an uptodate installation with Comfortupdate.rom wrote: do you think this is a problem?
So I don't see this as an issue for now.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: rom
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
7 years 1 month ago #151221
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on 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).
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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: rom
The topic has been locked.
- rom
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
7 years 3 weeks ago #151901
by rom
Replied by rom on 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.
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.
The topic has been locked.