[Discourse] A forum/mailing list tool

discourse package was just updated:

  • upgrade to upstream version 2.3.7; the official change log is available here.

Happy upgrading! :wink:

1 Like

Hi, i have an error here.

Log : https://paste.yunohost.org/raw/erozirepis

EDIT : after a restart of the server… the update is passed, everything is ok. I do not know where it came from?

discourse package was just updated:

  • upgrade to upstream version 2.3.8; the official change log is available here.

Happy upgrading! :wink:

1 Like

discourse package was just updated:

  • upgrade to upstream version 2.3.10; the official change log is available here.

Happy upgrading! :wink:

1 Like

Is a package update planned ? 2.4.1 has been available for a few days and apparently there is a security issue.
Tks

It’s on hold, Discourse 2.4.x updates will require YunoHost 4 (upgrade to Debian Buster).

1 Like

I try to upgrade the Discourse APPs with a new PR (simply update app.src and manifest.json with 2.4.2 version) and test the install and the install works ! I don’t test an upgrade, just a fresh install.

sudo yunohost log display 20200422-194533-app_install-discourse
description: Install the 'discourse' app
log_path: /var/log/yunohost/categories/operation/20200422-194533-app_install-discourse.log
logs: 
  - 2020-04-22 21:59:34,494: DEBUG - + for i in `seq 1 $timeout`
  - 2020-04-22 21:59:34,495: DEBUG - + grep --quiet 'INFO -- : worker=2 ready' /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:34,495: DEBUG - + echo -n .
  - 2020-04-22 21:59:34,495: DEBUG - + sleep 1
  - 2020-04-22 21:59:35,499: DEBUG - + for i in `seq 1 $timeout`
  - 2020-04-22 21:59:35,499: DEBUG - + grep --quiet 'INFO -- : worker=2 ready' /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:35,499: DEBUG - + echo -n .
  - 2020-04-22 21:59:35,499: DEBUG - + sleep 1
  - 2020-04-22 21:59:36,512: DEBUG - + for i in `seq 1 $timeout`
  - 2020-04-22 21:59:36,513: DEBUG - + grep --quiet 'INFO -- : worker=2 ready' /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:36,513: DEBUG - + echo -n .
  - 2020-04-22 21:59:36,513: DEBUG - + sleep 1
  - 2020-04-22 21:59:37,517: DEBUG - + for i in `seq 1 $timeout`
  - 2020-04-22 21:59:37,518: WARNING - ........................The service discourse has correctly started.
  - 2020-04-22 21:59:37,518: DEBUG - + grep --quiet 'INFO -- : worker=2 ready' /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:37,518: DEBUG - + echo 'The service discourse has correctly started.'
  - 2020-04-22 21:59:37,518: DEBUG - + break
  - 2020-04-22 21:59:37,519: DEBUG - + '[' 26 -eq 240 ']'
  - 2020-04-22 21:59:37,519: DEBUG - + echo ''
  - 2020-04-22 21:59:37,519: DEBUG - 
  - 2020-04-22 21:59:37,519: DEBUG - + ynh_clean_check_starting
  - 2020-04-22 21:59:37,519: DEBUG - + kill -s 15 10023
  - 2020-04-22 21:59:37,519: DEBUG - + ynh_secure_remove /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:37,520: DEBUG - + local legacy_args=f
  - 2020-04-22 21:59:37,520: DEBUG - + args_array=([f]=file=)
  - 2020-04-22 21:59:37,520: DEBUG - + declare -Ar args_array
  - 2020-04-22 21:59:37,520: DEBUG - + local file
  - 2020-04-22 21:59:37,520: DEBUG - + ynh_handle_getopts_args /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:37,520: DEBUG - + set +x
  - 2020-04-22 21:59:37,521: DEBUG - + echo '! Helper used in legacy mode !'
  - 2020-04-22 21:59:37,521: DEBUG - + set +x
  - 2020-04-22 21:59:37,521: DEBUG - _common.sh: line 911: 10023 Terminated              tail -F -n0 "$app_log" > "$templog"
  - 2020-04-22 21:59:37,521: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
  - 2020-04-22 21:59:37,521: DEBUG - + '[' 1 -ge 2 ']'
  - 2020-04-22 21:59:37,522: DEBUG - + [[ -z /tmp/tmp.bfSz1maPxZ ]]
  - 2020-04-22 21:59:37,522: DEBUG - + [[      /var/www     /home/yunohost.app =~ /tmp/tmp\.bfSz1maPxZ ]]
  - 2020-04-22 21:59:37,522: DEBUG - + [[ /tmp/tmp.bfSz1maPxZ =~ ^/[[:alnum:]]+$ ]]
  - 2020-04-22 21:59:37,522: DEBUG - + [[ Z = \/ ]]
  - 2020-04-22 21:59:37,522: DEBUG - + '[' -e /tmp/tmp.bfSz1maPxZ ']'
  - 2020-04-22 21:59:37,522: DEBUG - + rm -R /tmp/tmp.bfSz1maPxZ
  - 2020-04-22 21:59:37,523: DEBUG - + ynh_exit_properly
  - 2020-04-22 21:59:37,523: DEBUG - + local exit_code=0
  - 2020-04-22 21:59:37,523: DEBUG - + '[' 0 -eq 0 ']'
  - 2020-04-22 21:59:37,523: DEBUG - + exit 0
  - 2020-04-22 21:59:37,641: DEBUG - Checking that required services are up and running...
  - 2020-04-22 21:59:37,753: DEBUG - The permission database has been resynchronized
  - 2020-04-22 21:59:38,304: DEBUG - SSOwat configuration generated
  - 2020-04-22 21:59:38,318: SUCCESS - Installation completed
  - 2020-04-22 21:59:38,319: DEBUG - No default hook for action 'post_app_install' in /usr/share/yunohost/hooks/
  - 2020-04-22 21:59:38,319: DEBUG - No custom hook for action 'post_app_install' in /etc/yunohost/hooks.d/

There is just a problem with the sidekik service in the dashboard admin :

 A check for updates has not been performed. Ensure sidekiq is running

 Sidekiq is not running. Many tasks, like sending emails, are executed asynchronously by sidekiq. Please ensure at least one sidekiq process is running. [Learn about Sidekiq here](https://github.com/mperham/sidekiq).

Is it hard to add in the sidekiq service ? Or definitively impossible on Stretch ?

Thanks for the good job of pakaging. The install script is very long… Many hours of work and tests to provide it.

Last time I tried, Sidekiq wouldn’t start because it needed redis > 4.0.0, which isn’t available in Stretch. And without Sidekiq, we miss refreshes and notifications…

Ok, that’s too bad. Thanks for explanations.

Now that Buster is available for Yunohost, is it safe to migrate while Discourse is installed on my server ? And will the Discourse 2.5 upgrade soon be available ?
Thanks for your work

I try it yesterday and postgress don’t upgrade. Since my Discourse is off i’m wainting :slight_smile:

Do you mean the migration failed ?

I mean i have an error screen after update.

And now when i try to reinstall Discourse i have this error message

2020-07-30 22:51:09,025: WARNING - It looks like postgresql was not properly configured ? /etc/postgresql/11 is missing … Could be due to a locale issue, c.f.https://serverfault.com/questions/426989/postgresql-etc-postgresql-doesnt-exist
2020-07-30 22:51:09,025: DEBUG - + ynh_psql_test_if_first_run

Dont now what i have to do

Hello there,

I’ve installed discourse on my VPS and it’s all running. Now I have version 2.3.10 and version 2.5.0 is available. I can’t figure out how to update discourse with Yunohost. Can someone help me please?

Regards,
L0noBain

I’m afraid you’ll have to wait for availability of package. Are you running Buster?

Yes, I have buster. I’ve installed discourse yesterday. How long can it take for the update?

It says “ A critical update is available. Please upgrade!”

No one knows how? :slightly_frowning_face:

You’ll have to wait for the community to update the corresponding YunoHost package. The work is ongoing here. Feel free to participate and try the testing once available :wink:

Thanks!

Hi,
Do you know what i can do to delete Staff (example category) ? There is 3 subject but i didn’t find a way to delete them before delete Staff ?

Bonsoir,

J’aimerais supprimer la catégorie Staff (qui est dans les catégories d’example au départ). Mais pour se faire il faut d’abord supprimer les sujets qu’elle contient et rien ne le permet en apparence. Comment puis je faire ? Merci

Thank you