-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update TT-RSS to Git commit f61f2a26 and fix on DSM-6 #1976
Conversation
Tested on DSM-6.0-7135. Can't hurt if someone checks on DSM-5.x |
PHP="/usr/bin/php" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to make this a oneliner like USER right above?
I don't know exactly why Synology chose |
51190c4
to
2a7683f
Compare
@Dr-Bean I don't know why we now need to have three php binaries across the system :-) |
Probably backwards compatibility to a degree, at least during the beta. My guess is that the other binaries will disappear, or be replaced with a symlink pointing to the binary of the new package e.g. when DSM6 final is released. One last thing I didn't notice before: could you remove |
USER="$([ $(grep buildnumber /etc.defaults/VERSION | cut -d"\"" -f2) -ge 4418 ] && echo -n http || echo -n nobody)" | ||
PHP="/usr/bin/php" | ||
USER="$([ $(/bin/get_key_value /etc.defaults/VERSION buildnumber) -ge 4418 ] && echo -n http || echo -n nobody)" | ||
PHP="$([ $(/bin/get_key_value /etc.defaults/VERSION buildnumber) -ge 7135 ] && echo -n /usr/local/bin/php56 || echo -n /usr/bin/php)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And remove the unnecessary space ;)
2a7683f
to
79631c7
Compare
Note quite sure if it's a TTRSS bug but I had to do this to get the update daemon to work: |
Last question was meant for DSM6? Can't test that myself. |
@Dr-Bean Yes, that was on DSM6. Not it's not a permission issue TT-RSS simply expects the file to be there. I'm pretty sure it's a bug since the update_daemon doesn't create it itself if missing. So I'm unsure if we should add the above php line to the postinstall function... |
That seems to be a bug or a change in behavior in TT-RSS then? The lock files are created with the current package. I only did a quick check on DSM5: I updated to the commit in this PR, and the same problem occurs: no lockfiles. |
👍 |
@saschpe Not sure if you read my previous comment? |
DSM-6.0 moved PHP into a separate package. Both /bin/php and /usr/bin/php are minimal variants lacking the necessary MySQL PHP modules. Therefore depend on package PHP5.6 on DSM build 7135 or later and use /usr/local/bin/php56.
79631c7
to
de11b90
Compare
Seems like the issue was solved recently. The package works for me after upgrading to commit 7f4fff96. Could you please double-check? |
Linking to tt-rss DSM6 discussion. http://forum.synology.com/enu/viewtopic.php?f=260&t=105868 |
Seems to work as intended on DSM5 ;) Thanks for taking care of it :) |
tt-rss 20160102-10 has been published on the repository. |
Using the new tt-rss 20160102-10 I'm seeing the following in the tt-rss logs:
and the update daemon fails to update the feeds as a result. |
Does the file exist? ( |
Unfortunately no. |
It was a fresh install on DSM6 after uninstalling the old package. |
Ah...DSM6. Still can't test that, so I'll leave that to @saschpe: he said it worked ;) |
Works for me, though I'll re-test by uninstalling and wiping the installation. Either way, we could add the one-liner from above into the post-install function... |
Nope, works. Just un-installed the package completely and did a fresh install. @nickbroon Sure you installed the latest version? |
I installed the version which appear today. Uninstall change nothing. Where can i find the log ? |
@saschpe Did you uninstall the package and also manually remove the I'm definitely using 20160102-10, installed from synocommunity using Package Manager. |
@nickbroon Quick shot at fixing it: #2056 |
FWIW, I did the following and everything, including updating, seems to be working fine: rm /usr/syno/bin/php change '/usr/bin/php' to '/usr/local/bin/php56' in /var/services/web/tt-rss/config.php Restarted package via regular DSM web interface |
DSM-6.0 moved PHP into a separate package. Both /bin/php and /usr/bin/php
are minimal variants lacking the necessary MySQL PHP modules. Therefore
depend on package PHP5.6 on DSM build 7135 or later and use
/usr/local/bin/php56.