Hi everybody,
My YunoHost server
Hardware: Serveur perso AMD64
YunoHost version: yunohost: repo: stable version: 4.0.8 yunohost-admin: repo: stable version: 4.0.4 moulinette: repo: stable version: 4.0.3 ssowat: repo: stable version: 4.0.4.1
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | … : all of this
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes got sury repo installed
Description of my issue
I just upgrade to buster without big issues execpt one I cant’ able to solve.
I’ve got a mastodon instance service are start execpt mastodon-sidekiq. I stop it because a restart loop
I find this topic on github seems to have the same here
On my error log I’ve got same error
2020/10/31 12:32:46 [error] 1393#1393: *1750 connect() failed (111: Connection refused) while connecting to upstream, client: 176.31.100.9, server: social.mydomain.fr, request: "POST /inbox HTTP/1.1", upstream: "http://127.0.0.1:3000/inbox", host: "social.mydomain.fr"
So if I try to start the service manually
sudo -u mastodon /opt/rbenv/shims/bundle exec sidekiq -c 25
rbenv: bundle: command not found
The `bundle' command exists in these Ruby versions:
2.6.1
2.6.5
which bundle
/opt/rbenv/shims/bundle
ls /opt/rbenv/versions/
2.6.1 2.6.5
/opt/rbenv/shims# rbenv local 2.6.5
rbenv: version `2.6.5' not installed
root@yuno:/opt/rbenv/shims# rbenv local 2.6.1
rbenv: version `2.6.1' not installed
sudo systemctl status mastodon-sidekiq.service
● mastodon-sidekiq.service - mastodon-sidekiq
Loaded: loaded (/etc/systemd/system/mastodon-sidekiq.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-10-31 12:55:11 CET; 955ms ago
Main PID: 28449 (bundle)
Tasks: 1 (limit: 4614)
Memory: 17.1M
CGroup: /system.slice/mastodon-sidekiq.service
└─28449 /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/bin/sidekiq -c 25
Mastodon seems to use an old version of ruby 2.6.0
I’m not an expert in virtalenv so If someone have an idea
Salut
Description du problème
Je viens juste de finir l’upgrade vers buster, et il me reste un petit soucis que je n’arrive pas a résoudre.
J’ai un service mastodon qui tourne mais qui ne semble plus fonctionner.
En effet les services sont bien lancé sauf mastodon-sidekiq qui semble etre dans un redemarrage en boucle.
J’ai trouvé cette issues sur github qui semble être similaire.
J’ai dans mes logs les même erreurs
2020/10/31 12:32:46 [error] 1393#1393: *1750 connect() failed (111: Connection refused) while connecting to upstream, client: 176.31.100.9, server: social.mydomain.fr, request: "POST /inbox HTTP/1.1", upstream: "http://127.0.0.1:3000/inbox", host: "social.mydomain.fr"
J’ai essayé de debugger le socis en relançant sidekiq a la main
sudo -u mastodon /opt/rbenv/shims/bundle exec sidekiq -c 25
rbenv: bundle: command not found
The `bundle' command exists in these Ruby versions:
2.6.1
2.6.5
which bundle
/opt/rbenv/shims/bundle
ls /opt/rbenv/versions/
2.6.1 2.6.5
/opt/rbenv/shims# rbenv local 2.6.5
rbenv: version `2.6.5' not installed
root@yuno:/opt/rbenv/shims# rbenv local 2.6.1
rbenv: version `2.6.1' not installed
sudo systemctl status mastodon-sidekiq.service
● mastodon-sidekiq.service - mastodon-sidekiq
Loaded: loaded (/etc/systemd/system/mastodon-sidekiq.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-10-31 12:55:11 CET; 955ms ago
Main PID: 28449 (bundle)
Tasks: 1 (limit: 4614)
Memory: 17.1M
CGroup: /system.slice/mastodon-sidekiq.service
└─28449 /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/bin/sidekiq -c 25
Mastodon semble utiulisé une “veille” version de ruby 2.6.0
je ne suis pas un expert en env virtuel si quelqu’un a eu idée je suis preneur car je suis un peu perdu.