Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

If you run tt-rss on an officially unsupported platform (shared hosting, Windows, etc.) post here
surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 25 Apr 2016, 07:06


Kbird
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 25 Apr 2016, 17:06

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby Kbird » 25 Apr 2016, 17:09

Comparing your systemd service definition to the one in Arch Linux, try the line

ExecStart=/var/www/ttrss/update_daemon2.php --daemon

See if that helps

surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 25 Apr 2016, 18:05

Curious; I copied directly from here: https://tt-rss.org/gitlab/fox/tt-rss/wi ... atingFeeds

It does not appear to have changed the problem; the daemon output is the same as well.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 25 Apr 2016, 18:23

no you don't need that parameter for update_daemon2.php, the wiki one was correct

this could happen if you let the time go backwards on the server, this has been recently discussed in support i think

surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 25 Apr 2016, 19:28


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 25 Apr 2016, 19:51

what's that about? "[04:00:38/30311] warning: unable to create stampfile"

stamp file is created in LOCK_DIRECTORY in config.php, check that is exists and has correct permissions, remove any possible old files in there

i'm not sure but its possible that update subprocesses won't launch correctly if they can't create lockfiles although if they fail because of it they probably should report errors

also does everything work without systemd i.e. if you run daemon2 from command line? if so maybe it's some ubuntu issue

the unit file i'm using on debian is pretty much identical to the one on the wiki and everything seems to work fine

>Curiously...all values in ttrss_feeds are in the past EXCEPT "last_update_started" which is comfortably in the future by about 7 hours, which I believe is UTC? I'm PST, so it makes sense that my time is -7...I don't think that's an issue:

tt-rss uses UTC internally for everything

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 25 Apr 2016, 19:57

although now that i think about it, daemon master process should exit on startup if LOCK_DIRECTORY is unavailable, so i'm somewhat not sure wtf is going on there

e: also, try running update.php --force-update

e2: yet another thing is that i somehow broke feed selection on mysql when updating and you just ran into it when you switched to git, you can try going back through several latest master changesets and see if your feeds start updating magically (one candidate being 9e84bab)

although fwiw it seems to work fine on mysql

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 25 Apr 2016, 20:06

also, i think there was another report that importing tt-rss settings with OPML set things incorrectly and possibly prevented updates (idk, set global update interval to -1 or something?), maybe that's what happened here, that was also semi-recently reported in support, i think

surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 25 Apr 2016, 20:20


surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 25 Apr 2016, 20:25


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 25 Apr 2016, 22:02

0 basically means "use default" which falls back to your user preference in ttrss_user_prefs (default_update_something, can't miss it)

nvm

e: as usual you can email me the dump of your database so i could import it here and take a look

surfrock66
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 22 Mar 2013, 00:01

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby surfrock66 » 26 Apr 2016, 00:20

Link to dump on gdrive sent via PM; users table not included.

My final fallback plan will be to wipe out the DB and start over, then insert the old users table entries, then re-import the feed xml. This is all cat pictures and updates to open source projects...it's not like my business will fall apart or anything.

pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby pcause » 26 Apr 2016, 03:18

I have been running on Ubuntu 16.04 since the first alphas (Mate). I have not had any issues with the updating. I can't remember what issues I originally had, but I wound up adding the update.php --daemon to rc.local and have systemd run rc.local. This works fine.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 26 Apr 2016, 08:03


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Troubleshooting updates on Ubuntu Server 16.04: Feeds Don't Update

Postby fox » 26 Apr 2016, 18:57



Return to “Unsupported platforms”

Who is online

Users browsing this forum: No registered users and 0 guests