Closed numberdotone closed 7 years ago
So it stops at the Download line ? Without any other message ? Is your ssh connection still active at this time ?
What does yunohost app list -i | grep wallabag
says ?
Sorry for the missing explanation. I put the github link into the field under applications > install user defined app (or however it is called in English ;-). After provide the information about URL (/wallabag), domain (example.de), admin (alex) it starts responding with "Download ..." and end at the top "delete mode ..." (the sort is here ascending contrary to the normal terminal). It stops with a message "Installation failed" (isn`t c&p here). During the installation your command returns a "id: wallabag2" and when the installation fails: nothing
Could you test using the command line ?
yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh --verbose
(verbose is here to have a ... verbose output)
(the sort is here ascending contrary to the normal terminal)
That's normal, so the latest line is always at the same position.
During the installation your command returns a "id: wallabag2" and when the installation fails: nothing
The command just test if yunohost consider wallabag2 to be installed. (the -i
option shows the installed apps only)
So it's the normal behavior when encountering an error, removing all the stuff in order not to break your Yunohost.
Ok, spotted the error:
./_common.sh: line 48: cd: /var/www/wallabag2: Permission denied
I have the same issue on my side. Something doesn't work in this line.
As I'm not a developer I can't really help but reading the lines the user www-data should change the directory to "/var/www/wallabag2". And somethings going wrong with "shift 2" (I tried to understand which parameter should be deleted but I even don't know which values they had before) If I talk nonsense please be patient with me.
I still didn't figure out what shift 2
is doing. But playing with the code, it seems like the issue is somewhere else.
It seems to be in this line: https://github.com/YunoHost-Apps/wallabag2_ynh/blob/master/scripts/_common.sh#L49 (in fact it's the same line as line 48, but this part is blocking)
But I still don't know how to solve that. Sounds like it's a general install issue. Maybe because of Yunohost 2.5.
Related issue: https://github.com/YunoHost-Apps/wallabag2_ynh/issues/19#issuecomment-278188438
If I talk nonsense please be patient with me.
Don't worry, it's new for me too :)
Just to be sure it's not coming from my side, could you test this version ? https://github.com/lapineige/wallabag2_ynh/tree/lapineige-patch-1 (I'm not sure the web interface allows you to do that, if not try with the command line)
Web interface doesn't work, cli tells
lapineige-patch-1: line 5: syntax error near unexpected token
newline' lapineige-patch-1: line 5:
<!DOCTYPE html>'
Uh... strange error, I didn't have this one. Could you try again now ? If it works, please tell me if wallabag is working correctly (not the case on my side)
While I'm more that point-and-click guy ;-) it took me a moment to find out the right way to use the terminal. And here's the result:
root@machine:~# yunohost app install https://github.com/lapineige/wallabag2_ynh/tree/lapineige-patch-1 Available domains:
So, it's working now. Thanks a lot for your work and your support.
@numberdotone is it really working ? I mean, can you for instance import an article ? On my side I can't, even if install works. (but by the way I'm trying with 2.2.1, maybe there are some other issues related to this version)
@lapineige You are right, creating entries will result in "no title found" entries without any links, import reports: 500: Internal Server Error
Catchable Fatal Error: Argument 2 passed to Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder::__construct() must be of the type array, null given, called in /var/www/wallabag2/var/cache/prod/appProdProjectContainer.php on line 6340 and defined
I will deinstall and try it again with the verbose command, just to see what happens then
For version 2.1.4, @naguirre fixed this issue in a more clever way. I just merged his commit, so you can install wallabag from this repo again :) Thanks @naguirre ! :)
Note: I'm working on 2.2.1 packaging ;) #19
I tried to reinstall Wallabag 2 due to the failing Pocket import using https://github.com/YunoHost-Apps/wallabag2_ynh/ but something is going wrong. It was working before I made a dist-upgrade yesterday to YNH 2.5. It ends up here:
edit: I took the liberty to edit your post and make the log quoted - it's easier to read :)
Any ideas?