Forum apps for yunohost

,

Hello,
i m looking how install this on my yunohst please :slight_smile:

it’s a forum realy cool!!
thanks to u

ok j’ai trouvé ça : https://github.com/YunoHost-Apps/flarum_ynh

car discourse demande trop de ressource pour etre utiliser avec yunohst raspberry

En fait, Discourse nécessite docker mais la plupart des packageurs (dont moi) sont un peu retissant à installer des apps nécessitant docker.
Les deux équivalents les plus proches, sont peut-être flarum et Nodebb. Malheureusement, aucun des deux n’est en version stable pour le moment. Je vais travailler sur nodebb aujourd’hui pour voir si je peux résoudre le problème.
Flarum, est normalement maintenu par @tituspijean. Il est très occupé pour le moment. Le principal problème repose dans l’installation du plugin ldap permettant de connecter flarum au sso de yunohost.

2 Likes

j’ai tojours pas installé un forum, je crois que je vais resté sur ce bon vieux phpbb3 dommage

J’ai eu la meme reflexion que toi et j’ai été obligé de faire ca sur un VPS2 chez ovh.

Donc minimum 2Go de RAM mais aussi 20Go de disque. Le VPS1 avec 2Go de RAM et 10Go de stockage ne permet pas l’install.

Peut-etre que le futur RPI4 pourra répondre a cette demande.

flarum fonctionne sur Raspberry pi 2 et 3 sans problème. Il est conseiller de rajouter un HDD en plus de stockage externe. (je ne parle pas du paquet qui est en correction avec la PR en cours)

J’ai pas precisé mais je parlais de discourse bien entendu :slight_smile:

Flarun comment l’installer sur mon yunohost svp ?

Hello @Issa,
Flarum can be installed now through the package flarum_ynh. It’s still a testing version, but you can give feedbacks : use the url : https://github.com/YunoHost-Apps/flarum_ynh to install it.

frju365

PS: see Flarum - forum package

still not working :

La configuration de SSOwat a été générée

  • echo ‘The user flarum was not found’

The user flarum was not found

  • getent passwd flarum

  • ynh_system_user_exists flarum

  • ynh_system_user_delete flarum

  • ‘[’ -e /etc/logrotate.d/flarum ‘]’

  • ynh_remove_logrotate

  • sudo systemctl reload php5-fpm

/etc/php5/fpm/conf.d/20-flarum.ini wasn’t deleted because it doesn’t exist.

  • echo ‘/etc/php5/fpm/conf.d/20-flarum.ini wasn’’‘t deleted because it doesn’’‘t exist.’

  • ‘[’ -e /etc/php5/fpm/conf.d/20-flarum.ini ‘]’

  • [[ i = / ]]

  • [[ /etc/php5/fpm/conf.d/20-flarum.ini =~ ^/[[:alnum:]]+$ ]]

  • [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/conf.d/20-flarum.ini ]]

  • local ‘forbidden_path= /var/www /home/yunohost.app’

  • local path_to_remove=/etc/php5/fpm/conf.d/20-flarum.ini

  • ynh_secure_remove /etc/php5/fpm/conf.d/20-flarum.ini

  • echo ‘/etc/php5/fpm/pool.d/flarum.conf wasn’’‘t deleted because it doesn’’‘t exist.’

  • ‘[’ -e /etc/php5/fpm/pool.d/flarum.conf ‘]’

  • [[ f = / ]]

  • [[ /etc/php5/fpm/pool.d/flarum.conf =~ ^/[[:alnum:]]+$ ]]

  • [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/pool.d/flarum.conf ]]

  • local ‘forbidden_path= /var/www /home/yunohost.app’

  • local path_to_remove=/etc/php5/fpm/pool.d/flarum.conf

  • ynh_secure_remove /etc/php5/fpm/pool.d/flarum.conf

/etc/php5/fpm/pool.d/flarum.conf wasn’t deleted because it doesn’t exist.

  • ynh_remove_fpm_config

  • sudo systemctl reload nginx

  • echo ‘/etc/nginx/conf.d/.d/flarum.conf wasn’’‘t deleted because it doesn’’‘t exist.’

  • ‘[’ -e /etc/nginx/conf.d/.d/flarum.conf ‘]’

  • [[ f = / ]]

  • [[ /etc/nginx/conf.d/.d/flarum.conf =~ ^/[[:alnum:]]+$ ]]

  • [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/.d/flarum.conf ]]

  • local ‘forbidden_path= /var/www /home/yunohost.app’

  • local path_to_remove=/etc/nginx/conf.d/.d/flarum.conf

  • ynh_secure_remove /etc/nginx/conf.d/.d/flarum.conf

  • ynh_remove_nginx_config

  • echo ‘/tmp/flarum wasn’’‘t deleted because it doesn’’‘t exist.’

  • ‘[’ -e /tmp/flarum ‘]’

  • [[ m = / ]]

  • [[ /tmp/flarum =~ ^/[[:alnum:]]+$ ]]

  • [[ /var/www /home/yunohost.app =~ /tmp/flarum ]]

  • local ‘forbidden_path= /var/www /home/yunohost.app’

  • local path_to_remove=/tmp/flarum

  • ynh_secure_remove /tmp/flarum

  • echo ‘Avoid deleting .’

  • [[ /var/www /home/yunohost.app =~ ‘’ ]]

  • local ‘forbidden_path= /var/www /home/yunohost.app’

  • local path_to_remove=

  • ynh_secure_remove ‘’

/etc/nginx/conf.d/.d/flarum.conf wasn’t deleted because it doesn’t exist.

++ return 1

/tmp/flarum wasn’t deleted because it doesn’t exist.

Avoid deleting .

++ [[ -z ‘’ ]]

+++ mysql -u root --password=qdqsdqsd -B ‘’

+++ ynh_mysql_connect_as root qdqsdqsd ‘’

++++ sudo cat /etc/yunohost/mysql

+++ ynh_mysql_execute_as_root ‘SELECT User from mysql.user WHERE User = ‘’’’’’;’

++ local user=

++ ynh_mysql_user_exists

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1

  • mysql -u root --password=qdqsdqsd -B ‘’

  • ynh_mysql_connect_as root qdqsdqsd ‘’

++ sudo cat /etc/yunohost/mysql

Removing database

  • ynh_mysql_execute_as_root ‘DROP DATABASE ;’

  • ynh_mysql_drop_db

  • echo 'Removing database ’

  • grep -q '^| ’

  • mysqlshow -u root -pqdqsdqsd

  • local mysql_root_password=qdqsdqsd

++ sudo cat /etc/yunohost/mysql

  • local db_name=

  • local db_user=

  • ynh_mysql_remove_db

  • final_path=

++ sudo yunohost app setting flarum final_path --output-as plain --quiet

++ ynh_app_setting_get flarum final_path

  • db_user=

  • db_name=

++ sudo yunohost app setting flarum db_name --output-as plain --quiet

++ ynh_app_setting_get flarum db_name

  • domain=

++ sudo yunohost app setting flarum domain --output-as plain --quiet

++ ynh_app_setting_get flarum domain

  • app=flarum

++ . /usr/share/yunohost/helpers.d/utils

++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/user

++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/system

++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/string

++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/setting

++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/print

++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/package

++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/network

++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql

++ . /usr/share/yunohost/helpers.d/mysql

++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/ip

++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ CAN_BIND=1

++ . /usr/share/yunohost/helpers.d/filesystem

++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/backend

++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ run-parts --list /usr/share/yunohost/helpers.d

  • source /usr/share/yunohost/helpers

  • source _common.sh

Exécution du script « /var/cache/yunohost/from_file/flarum_ynh-master/scripts/remove »…

  • exit 1

  • echo ‘’

  • ynh_die

  • type -t ynh_clean_setup

  • echo -e ‘!!\n flarum’’‘s script has encountered an error. Its execution was cancelled.\n!!’

  • set +eu

  • trap ‘’ EXIT

  • ‘[’ 1 -eq 0 ‘]’

  • local exit_code=1

  • ynh_exit_properly

  • exit 1

  • echo ‘This path already contains a folder’

  • ynh_die ‘This path already contains a folder’

  • test ‘!’ -e /var/www/flarum

  • final_path=/var/www/flarum

  • flarum_version=v0.1.0-beta.7

  • is_public=1

  • title=‘Forum domaine’

  • admin=users01

  • path_url=/flarum

  • domain=domaine.fr

  • app=flarum

  • trap ynh_exit_properly EXIT

  • set -eu

  • ynh_abort_if_errors

++ . /usr/share/yunohost/helpers.d/utils

++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/user

++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

!!

flarum’s script has encountered an error. Its execution was cancelled.

++ . /usr/share/yunohost/helpers.d/system

!!

++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/string

This path already contains a folder

++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/setting

++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/print

++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/package

++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/network

++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql

++ . /usr/share/yunohost/helpers.d/mysql

++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/ip

++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ CAN_BIND=1

++ . /usr/share/yunohost/helpers.d/filesystem

++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

++ . /usr/share/yunohost/helpers.d/backend

++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’

++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’

+++ run-parts --list /usr/share/yunohost/helpers.d

  • source /usr/share/yunohost/helpers

  • source _common.sh

Exécution du script « /var/cache/yunohost/from_file/flarum_ynh-master/scripts/install »…

Vérification des paquets requis pour flarum…

Terminé

Extraction…

Téléchargement…

Connecté

Non autorisé

@Issa, I have anwsered you on the Flarum topic. You have to remove the /var/www/flarum folder that has not been deleted in a previous attempt.