Coder Social home page Coder Social logo

Comments (22)

JimboJoe avatar JimboJoe commented on July 20, 2024 1

Is the php-mysql package present (dpkg -l |grep php-mysql)?

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

@ariasuni can you have a look at this issue please ?

from ttrss_ynh.

Jibec avatar Jibec commented on July 20, 2024

I had the same issue and tried to upgrade manually with sudo yunohost app ugrade ttrss but it said:

Source path '/etc/cron.d/ttrss' does not exist

If fixed it with sudo touch /etc/cron.d/ttrss and ran again sudo yunohost app ugrade ttrss.

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

I cannot update the app because it is already upgraded.
The only possibility would be to manually fix the cron-file.

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

@Jibec Can you please post the content of the cron-file, to fix that manually?

from ttrss_ynh.

Jibec avatar Jibec commented on July 20, 2024

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

I know the touch command and what it does, but thanks anyway :)
After the creation of the file (and several reboots, etc.) it still says, that the update daemon doesn't work, so I thought about inserting the command and a fitting interval (every 30 mins or something like that) but I don't know the path to the executable - the reason why I'm asking you about the content...

If I try to update ttrss via the yunohost cli it says the following:
yunohost app upgrade ttrss Success! ttrss is already up to date Error: No app to upgrade

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

The cron file contained that:
*/30 * * * * $app cd $final_path && /usr/bin/php $final_path/update.php --feeds >/dev/null 2>&1

@ariasuni seems to not be around here. I have something else to fix right now, but after that, I will have a look at this problem.

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

Even after inserting the command and a reboot, still not working..

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

Of course you have changed the contains of the given line !?
You can try to remove the redirection to /dev/null and redirect to a file to have a log.

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

I've definitely do something wrong while editing this file:
*/30 * * * * ttrss cd /var/www/ttrss && /usr/bin/php /var/www/ttrss/update.php --feeds >/home/0x0000001/ttrss.log 2>&1

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

So... I tried ttrss today.
Even if ttrss need a lot of patience, it works fine. And my feeds are up to date.

And, after an upgrade my service ttrss run correctly.
If you still have your script systemd, can you try to reboot ttrss please ?

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

Well, I've rebooted the system several times and replaced the cron file with that line from above.
(If that's what you mean)

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

Err, no that's not what I meant.
My proposition was to restart ttrss only.

sudo systemctl restart ttrss
Then
sudo journalctl -u ttrss
To see if is always good with the service.

And by the way, do not keep the cron file.
But, you can keep the cron file if you prefer and remove or stop the service.

from ttrss_ynh.

ariasuni avatar ariasuni commented on July 20, 2024

Also, keep in mind that scripts assume there’s a systemd file (the backup script for example) so it’s probably better to use stop and disable the service with sudo systemctl stop ttrss && sudo systemctl disable ttrss than removing the file, if you absolutely don’t want to use the systemd service.

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

I think the manual reboot of the ttrss service helped, it's working now!

from ttrss_ynh.

1989gironimo avatar 1989gironimo commented on July 20, 2024

Had it again the last three days, restarted it manually again and it's working again.

from ttrss_ynh.

maniackcrudelis avatar maniackcrudelis commented on July 20, 2024

Can you check your log to see if anything happened before the crash of the service?

from ttrss_ynh.

hirgelbirgel avatar hirgelbirgel commented on July 20, 2024

After upgrading/migration to yunohost 2.7.14 on debian stretch i got the same problem. I already tried the solution with "touch", upgrade as well as reboot/restart service. The log says:

Jun 25 07:17:02 YunoHost systemd[1]: Started ttrss_backend.
Jun 25 07:17:02 YunoHost php[23654]: Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Jun 25 07:17:02 YunoHost php[23654]: Please fix errors indicated by the following messages:
Jun 25 07:17:02 YunoHost php[23654]:  * PHP support for MySQL is required for configured DB_TYPE in config.php.
Jun 25 07:17:02 YunoHost php[23654]: You might want to check tt-rss wiki or the forums for more information.
Jun 25 07:17:02 YunoHost php[23654]: Please search the forums before creating new topic for your question.
Jun 25 07:17:02 YunoHost systemd[1]: ttrss.service: Main process exited, code=exited, status=255/n/a
Jun 25 07:17:02 YunoHost systemd[1]: ttrss.service: Unit entered failed state.
Jun 25 07:17:02 YunoHost systemd[1]: ttrss.service: Failed with result 'exit-code'.

Do you have any idea to solve this?

from ttrss_ynh.

hirgelbirgel avatar hirgelbirgel commented on July 20, 2024

I checked it, and no, it is not present. Ok, the installation of php-mysql and php7.0fpm solved my problem. Thanks!!

from ttrss_ynh.

baboonandsloth avatar baboonandsloth commented on July 20, 2024

I'm having this issue too :( none of the above work

from ttrss_ynh.

ericgaspar avatar ericgaspar commented on July 20, 2024

@baboonandsloth This issue is 4 years old... please open a new issue with logs.

from ttrss_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.