-
-
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
Fix missing update_daemon.timestamp on install/upgrade #2056
Conversation
This is clearly a work around or hack, as tt-rss should be creating this file itself, and this is just hiding the underlying issue. The update daemon should be creating this timestamp files, so perhaps it's not being setup/executed properly on DSM6? |
I have to agree with @nickbroon here. |
I think I found the issue, config.php should contain this line: define('PHP_EXECUTABLE', '/usr/local/bin/php56'); But I'm quite sure yours will have: define('PHP_EXECUTABLE', '/usr/bin/php'); Seems like https://github.com/SynoCommunity/spksrc/pull/1976/files#diff-b29215cbdf055f9967dda542150e9a3aR66 didn't cut it. I'll fix this line and update this pull soon... |
Either /usr/bin/php or /usr/local/bin/php56 on DSM-6 or newer. Related to issue 2052
cc17232
to
a9fed44
Compare
👍 |
If @nickbroon did a clean install of tt-rss on DSM6, then the postinstall line should have already fixed that, right? @nickbroon Have you actually tested this? |
Just built/installed/tested tt-rss_88f6281-5.2_20160102-11.spk tt-rss/config.php still contains |
So I re-installed this package after upgrading to DSM-7.0beta2 and it works. However, I can't uninstall it anymore to check if the lock file issue is still present. Locks like the uninstall script drop database part got broke somehow. At least it doesn't accept my (otherwise valid) root password anymore. @Dr-Bean I suggest merging this fix, since the other was incomplete. I'll try to see what can be done about the lock-file issue |
It won't accept my valid database root password on install either :-( |
@nickbroon Likely the same for other packages, so I guess something bigger changed :-D |
Ping, @LawrenceAusten feel free to comment here too... |
I'm holding off on merging this, because we need the DSM6 toolchains to be able to release a DSM6 compatible package. The user creation stuff has to be finalized as well. |
@saschpe The replacement line in both locations contains an extra space. This is why it does not work.
The text gets auto-corrected in these comments but the extra space is in the match portion after 'PHP_EXECUTABLE', Perhaps the match should contain a match on 0 or more spaces instead of a hard coded space. |
Related to issue 2052 and pull request 1976
Maybe not the most beautiful fix on earth...