YunoHost-Apps / etherpad_mypads_ynh

Etherpad MyPads package for YunoHost
http://etherpad.org/
GNU General Public License v3.0
16 stars 13 forks source link

Installation can not be finished on Yunohost #135

Open Maximilian-tek opened 3 years ago

Maximilian-tek commented 3 years ago

I installed Yunohost yesterday on my Rasperry Bi 3 B. Now when I try to install etherpad mypads on Yunohost I will always get the same error -> LogFile for complete Error List. First some Warnings like: /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynhpermission{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.

Then: ERROR 1146 (42S02) at line 1: Table 'etherpad_mypads.store' doesn't exist

Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.

RESTART!

And final an Error: etherpad_mypads kann nicht installiert werden: Im Installationsscript ist ein Fehler aufgetreten after that the Programm will deinstall the etherpad.

I tried several Installation options, but always the error that will result in the deinstallation. If it would install (installation without Mypad, I cannot reach the Etherpad and get a Gateway 502 Error with nginx.

The Log: https://paste.yunohost.org/raw/gamawevemu

ericgaspar commented 3 years ago

You can try to install from this branch an upgraded version of Etherpad see if you have some success with it. sudo yunohost app install https://github.com/YunoHost-Apps/etherpad_mypads_ynh/tree/upgrade

Maximilian-tek commented 3 years ago

Ok i will try it, thank you for the quick response. Its still installing since 25 Minutes; I will report back when its finished!

Maximilian-tek commented 3 years ago

Tried this just now and after 25min of loading/installing, it went just like when I installed it the normal way.

Info: DEBUG - + ynh_clean_check_starting Info: DEBUG - + '[' -n 1506 ']' Info: DEBUG - + kill -SIGTERM 1506 Info: DEBUG - + '[' -n /tmp/tmp.8RzOLqKAHw ']' Info: DEBUG - + ynh_secure_remove /tmp/tmp.8RzOLqKAHw Info: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app' Info: DEBUG - + '[' 1 -ge 2 ']' Info: DEBUG - + [[ -z /tmp/tmp.8RzOLqKAHw ]] Info: DEBUG - + [[ /var/www /home/yunohost.app =~ /tmp/tmp.8RzOLqKAHw ]] Info: DEBUG - + [[ /tmp/tmp.8RzOLqKAHw =~ ^/[[:alnum:]]+$ ]] Info: DEBUG - + [[ w = \/ ]] Info: DEBUG - + '[' -e /tmp/tmp.8RzOLqKAHw ']' Info: DEBUG - + rm --recursive /tmp/tmp.8RzOLqKAHw Info: DEBUG - + '[' 1 -eq 1 ']' Info: DEBUG - + ynh_replace_string --match_string=LANGUAGE --replace_string= en --target_file=../conf/lang_mypads.sql Info: DEBUG - + local delimit=@ Info: DEBUG - + match_string=LANGUAGE Info: DEBUG - + replace_string=en Info: DEBUG - + sed --in-place s@LANGUAGE@en@g ../conf/lang_mypads.sql Info: DEBUG - + mysql -u etherpad_mypads -p** etherpad_mypads Info: DEBUG - + ynh_exit_properly

The section above is the "Error Section" that was marked as "Could help you find the error"

ericgaspar commented 3 years ago

mmh, strange, I installed it without error .. Let's try something else. There is also etherpad with no plug-ins installed and with postgreSQL instead of MYSQL. Give it a try... sudo yunohost app install https://github.com/YunoHost-Apps/etherpad_ynh

Maximilian-tek commented 3 years ago

Thank you again! If this wont work either, I will give it a try to reinstall Yunhost on my Pi!

Maximilian-tek commented 3 years ago

So it says this time Success! But i just get the "502 Bad Gateway" Error with "nginx" is there something odd with my general Yunohost Installation?

felagund commented 1 year ago

I also got to this state. I was installing and removing plugins to test them and all of a sudden, I started to get hte 502 Bad Gateway error. I tried reinstalling Etherpad several times but it will always hang at plugin installation. Not to sure what to do about it.

felagund commented 1 year ago

AS suggested here: https://forum.yunohost.org/t/impossible-dinstaller-etherpad/6456/14

when I removed plugins from the install file and installe from

https://github.com/felagund/etherpad_mypads_ynh/

the apps installs. I would assume it can get to a state when uninstallation leaves some cruft that causes re-installation to fail?

My log is here: https://paste.yunohost.org/raw/womefutezu

felagund commented 1 year ago

I tried variously removing some plugins from the install file and it seem no matter which I pcik, the installation just hangs when installing them. I am out of ideas.