Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation can not be finished on Yunohost #135

Open
Maximilian-tek opened this issue Apr 29, 2021 · 9 comments
Open

Installation can not be finished on Yunohost #135

Maximilian-tek opened this issue Apr 29, 2021 · 9 comments

Comments

@Maximilian-tek
Copy link

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 'ynh_permission_{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
Copy link
Member

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 Maximilian-tek changed the title Installation can not be finished on Yumohost Installation can not be finished on Yunohost Apr 29, 2021
@Maximilian-tek
Copy link
Author

Maximilian-tek commented Apr 29, 2021

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
Copy link
Author

Maximilian-tek commented Apr 29, 2021

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
Copy link
Member

ericgaspar commented Apr 29, 2021

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
Copy link
Author

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

@Maximilian-tek
Copy link
Author

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
Copy link

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
Copy link

felagund commented Nov 18, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants