SOLVED: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

wm0
Posts: 5
Joined: Thu Dec 03, 2020 3:40 am

SOLVED: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby wm0 » Fri Dec 04, 2020 7:55 am

I just installed the actual amahi version on a fresh fedora27 installation like dokumented on the Amahi page.

I also installed applications like phpMyAdmin, Ampache, Cockpit, Cockpit Extras and SMART Status, which are working fine. I added two Raid1-Arrays with Cockpit, changed some shares and now wanted to install also to applications Collabtive, OpenDocMan and RainLoop. But all the installations failed in the same way.

So I tried to upload the log with "tail -600 /var/log/amahi-app-installer.log | apaste" but I got the following error:
Uploading (21.1KiB)...
Error: Server did not return a correct JSON response

So I add the relevant lines of the log here:

======= app install begin @ 2020-12-04 10:58:17 +0100 ==========
Installing app id w5180zgbqo under /var/hda/platform/html/script/.. ENV=production
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... ve-211.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' --> 'https://downloads.sourceforge.net/proje ... ve-211.zip' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... ve-211.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' --> 'https://downloads.sourceforge.net/proje ... ve-211.zip' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... ve-211.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...
/var/hda/platform/html/lib/downloader.rb:77:in `download_direct': https://master.dl.sourceforge.net/proje ... gz?viasf=1 (Downloader::TooManyRedirects)
from /var/hda/platform/html/lib/downloader.rb:87:in `download'
from /var/hda/platform/html/lib/downloader.rb:50:in `download_and_check_sha1'
from /var/hda/platform/html/app/models/app.rb:251:in `install_bg'
from /var/hda/platform/html/script/install-app:87:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:108:in `main'
from /var/hda/platform/html/script/install-app:121:in `<main>'
======= app install begin @ 2020-12-04 10:59:27 +0100 ==========
Installing app id 8erubgzkup under /var/hda/platform/html/script/.. ENV=production
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... 3.2.tar.gz' --> 'https://master.dl.sourceforge.net/proje ... gz?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... gz?viasf=1' --> 'https://downloads.sourceforge.net/proje ... 3.2.tar.gz' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... 3.2.tar.gz' --> 'https://master.dl.sourceforge.net/proje ... gz?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... gz?viasf=1' --> 'https://downloads.sourceforge.net/proje ... 3.2.tar.gz' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... 3.2.tar.gz' --> 'https://master.dl.sourceforge.net/proje ... gz?viasf=1' ...
/var/hda/platform/html/lib/downloader.rb:77:in `download_direct': https://master.dl.sourceforge.net/proje ... ip?viasf=1 (Downloader::TooManyRedirects)
from /var/hda/platform/html/lib/downloader.rb:87:in `download'
from /var/hda/platform/html/lib/downloader.rb:50:in `download_and_check_sha1'
from /var/hda/platform/html/app/models/app.rb:251:in `install_bg'
from /var/hda/platform/html/script/install-app:87:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:108:in `main'
from /var/hda/platform/html/script/install-app:121:in `<main>'
======= app install begin @ 2020-12-04 10:59:50 +0100 ==========
Installing app id wwnutgrsc3 under /var/hda/platform/html/script/.. ENV=production
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... 1.14.0.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' --> 'https://downloads.sourceforge.net/proje ... 1.14.0.zip' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... 1.14.0.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...
NOTICE: redirected 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' --> 'https://downloads.sourceforge.net/proje ... 1.14.0.zip' ...
NOTICE: redirected 'https://downloads.sourceforge.net/proje ... 1.14.0.zip' --> 'https://master.dl.sourceforge.net/proje ... ip?viasf=1' ...


Is there any idea what goes wrong?

Greetings,
Wolfgang

User avatar
bigfoot65
Project Manager
Posts: 11841
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby bigfoot65 » Fri Dec 04, 2020 9:24 am

It looks like a temporary issue with the vendor who provided the application source files (SourceForge).

I just checked the downloads for those apps and they appear to be working ok for me.

Suggest you try again, but might want to reboot the server first.

If the problem persists, we might be able to switch the source files to another download source.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wm0
Posts: 5
Joined: Thu Dec 03, 2020 3:40 am

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby wm0 » Sat Dec 05, 2020 3:31 am

I rebooted, but the problem is still there.

I used the urls in my browser and there the downloads work. On sourgeforge I can use the button "Problems with downloading?" and can get a direkt link there. Is it possible to temporary patch this link in a file on my system to get it work? Do you know in which file the installation links are stored?

Another question: Using apaste to upload the log I got the error "Error: Server did not return a correct JSON response". Is there a way to debug this? Or is it normal that this may not work? Sharing and accessing the webinterfaces of my hda is working but nevertheless may be there are some networking problems...
Greetings,
Wolfgang

User avatar
bigfoot65
Project Manager
Posts: 11841
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby bigfoot65 » Sat Dec 05, 2020 10:12 am

Is it possible to temporary patch this link in a file on my system to get it work? Do you know in which file the installation links are stored?
There is no file local where the download source URL is stored. This is all done dynamically with the Amahi interface.
Is there a way to debug this? Or is it normal that this may not work?
This does happen sometimes, but usually if related to a firewall on the users end that's blocking access. You can also try fpaste instead of apaste.

I have changed the upload location for collabtive App and please try that again. If it works, then we know that source location is the issue. If not, then it may be something on your end relating to file mirrors with SourceForge.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wm0
Posts: 5
Joined: Thu Dec 03, 2020 3:40 am

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby wm0 » Sat Dec 05, 2020 2:11 pm

I have changed the upload location for collabtive App and please try that again. If it works, then we know that source location is the issue. If not, then it may be something on your end relating to file mirrors with SourceForge.

Excellent! Now the installation of collabtive App was successful. I also tried to install OpenDocMan App and RainLoop App again, but they still fail. So your change was realy the cause for being able to install... So I would be happy, if you also update the upload locations for OpenDocMan and RainLoop.

Thank you for the great support!
Greetings,
Wolfgang

User avatar
bigfoot65
Project Manager
Posts: 11841
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby bigfoot65 » Sat Dec 05, 2020 3:07 pm

Done!

Please let us know if it worked. Will close this topic once confirmed.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wm0
Posts: 5
Joined: Thu Dec 03, 2020 3:40 am

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby wm0 » Sun Dec 06, 2020 1:21 am

Perfect!

Now I was able to install OpenDocMan and RainLoop, too.

Thank you very much!
Greetings,
Wolfgang

User avatar
bigfoot65
Project Manager
Posts: 11841
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot install Collabtive, OpenDocMan and RainLoop; apaste error

Postby bigfoot65 » Sun Dec 06, 2020 9:46 am

No problem.

Glad it worked. Will mark topic as resolved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 2 guests