Updater plugin not working

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
flod
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 23 Mar 2013, 13:05

Updater plugin not working

Postby flod » 23 Mar 2013, 13:16

I set up tt-rss on my dedicated server a few days ago. It's running fine and updating with a cron-job.

This morning I'm trying to update to 1.7.5 but I can't get it done.

1) As explained in the <a href="http://tt-rss.org/redmine/projects/tt-rss/wiki/InstallationNotes">Wiki</a>, I enabled the updater plugin. I see a "Update Tiny Tiny RSS" panel, click on the button. A dialog appears and then nothing else (it doesn't move from there)

2) I tried to run update.php manually. It doesn't work with "--update_self" (I guess that's because the syntax changed, I believe it's worth a note on the Wiki). With "-update_self" I get this error (I'm running Debian on this server and executing this script as www-data)

Code: Select all

[email protected]:/srv/www/myurl# su www-data updatettrss.sh
[09:13:01/17964] Warning: self-updating is experimental. Use at your own risk.
[09:13:01/17964] Please backup your tt-rss directory before continuing. Your database will not be modified.
[09:13:01/17964] Type 'yes' to continue.
yes
[09:13:23/17964] Work directory: /srv/www/myurl/public_html
[09:13:23/17964] Checking for tar...
[09:13:23/17964] Checking for gunzip...
[09:13:23/17964] Checking for latest version...
[09:13:23/17964] Target version: 1.7.5
[09:13:24/17964] Downloading checksums...
[09:13:26/17964] Downloading distribution tarball...
[09:13:26/17964] Verifying tarball checksum...
[09:13:26/17964] Saving download to /tmp/tt-rss2Jyqom
PHP Warning:  rename(/srv/www/myurl/public_html,/tmp/tt-rss-old0G0HGo): Permission denied in /srv/www/myurl/public_html/plugins/updater/init.php on line 184
[09:13:26/17964] Renaming tt-rss directory to tt-rss-old0G0HGo
[09:13:26/17964] Unable to rename tt-rss directory.


See the PHP warning, there's an extra "," before /tmp.

tagno25
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 23 Mar 2013, 17:31

Re: Updater plugin not working

Postby tagno25 » 23 Mar 2013, 17:35

The user running the update script needs to be able to have write permissions on /srv/www/myurl

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: Updater plugin not working

Postby Aldursil » 23 Mar 2013, 21:49

I also am having an issue trying to use the web updater. Previously I could not update with 1.7.3. There was an issue with the init.php file which I fixed and then used the web updater successfully. Now when I try I am getting the same empty updated dialog. I tried updating init.php again and now I am getting "Sorry, an error occurred".

Any idea on what I could do to get this fixed?

Firehand
Bear Rating Trainee
Bear Rating Trainee
Posts: 5
Joined: 21 Mar 2013, 11:52

Re: Updater plugin not working

Postby Firehand » 24 Mar 2013, 10:26

I updated it manually to 1.7.5 because when I tried the web plugin it just popped an empty widget which does nothing.

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: Updater plugin not working

Postby Aldursil » 24 Mar 2013, 20:11

I updated manually also due to the same issue with the empty updater dialog. It looks like init.php did not have the patch applied to it so it's still broken.

flod
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 23 Mar 2013, 13:05

Re: Updater plugin not working

Postby flod » 30 Mar 2013, 10:15

tagno25 wrote:The user running the update script needs to be able to have write permissions on /srv/www/myurl

The user running the script is the owner of that folder and it's the same running the update cronjob ;-)

In the meantime I've updated manually.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests