Page 1 of 1

Updater can't extract tarball

Posted: 04 Apr 2013, 21:45
by lordofthemoon
Hi,
I installed 1.7.5 a few days ago and I see that 1.7.8 is out now. I tried to use the updater to update to the newest version and got the following in the window:

Ready to update.
Work directory: /var/www/ttrss
Checking for tar...
Checking for gunzip...
Checking for latest version...
Target version: 1.7.8
Proceeding to download...
Downloading distribution tarball...
Saving download to /tmp/tt-rssKVpqbS
Extracting tarball...
Error while extracting tarball (RC=2).


If I go into /tmp, I can manually unzip the tarball (as root, as the file was created as the Apache user) so tar is installed and working. If it matters, I'm using the Raspberry Pi Raspian Wheezy distro.

I have, however, been able to successfully update manually.

Re: Updater can't extract tarball

Posted: 04 Apr 2013, 21:51
by sboulema
The updater will extract the tarball and make a backup in the /var/www/ dir, so the apache user needs write access to that dir

Re: Updater can't extract tarball

Posted: 04 Apr 2013, 23:20
by lordofthemoon
I've checked and the apache user does have access to /var/www (it's owned by root, but the apache user's group is the group of the directory and the group has write permissions).

Re: Updater can't extract tarball

Posted: 12 Apr 2013, 21:26
by joshp
Same issue, permissions are set correctly, but I am getting the same error.

Re: Updater can't extract tarball

Posted: 12 Apr 2013, 21:36
by joshp
Apparently I needed to "apt-get install php5-curl", following instructions on site. But even after that, same issue.

Re: Updater can't extract tarball

Posted: 12 Apr 2013, 21:40
by joshp
Apparently I needed to "apt-get install curl libcurl3 libcurl3-dev php5-curl", following instructions on site.

Note, you not only need to install php5-curl, but the straight up curl package as well. Hope this helps.

Re: Updater can't extract tarball

Posted: 14 Jun 2013, 02:57
by Flaim
Is it hard coded to expect to be in /var/www?

Re: Updater can't extract tarball

Posted: 14 Jun 2013, 09:22
by sleeper_service
Flaim wrote:Is it hard coded to expect to be in /var/www?

no