[SOLVED] Pydio Sync Client not working with Pydio

Having issues with your DietPi installation, or, found a bug? Post it here.
skyfly555
Posts: 81
Joined: Tue Nov 17, 2015 12:16 pm

[SOLVED] Pydio Sync Client not working with Pydio

Post by skyfly555 »

Hello,

This is not the best place, but maybe someone of you have installed Pydio in your DietPi and have faced this issue. If this is the case, please help me!

I’ve installed Pydio on my Odroid C2, DietPi v119, installed using dietpi-software.
I have an NoIP domain, let’ say xxx.ddns.net
I have a OpenWRT router/DNS server (local IP 192.168.1.1) that knows that xxx.ddns.net is my local IP 192.168.1.12, where I have my DietPi, configured using dnsmasq. All the computers connecting at home get their IPs from this router and they know DNS server is the router, with the IP 192.168.1.1
I can go to http://xxx.ddns.net/pydio/ using Firefox or Chrome and I go into my Pydio web interface, so my computers are getting the DNS resolution from my router, OK.

THE PROBLEM:
But when I try to get into my Rasp Pydio using te Sync Client (I’m on OS X El Capitan), I get this message:

Error while trying to connect to http://xxx.ddns.net/pydio/ :
Server not found (404), is it up and has it Pydio installed ?

If I try to use http://192.168.1.12/pydio/ I get the same message.

What’s the problem? Maybe the sync client is using another DNS server by default, not my router’s DNS dnsmasq server, maybe Google’s 8.8.8.8 or whatever?

Thank you very much for your help,
Last edited by skyfly555 on Sun Jun 19, 2016 10:27 pm, edited 2 times in total.
skyfly555
Posts: 81
Joined: Tue Nov 17, 2015 12:16 pm

Re: Pydio Sync Client not working in the LAN with Pydio

Post by skyfly555 »

This morning I have checked what happened "from the outside" of my LAN. In web browser on my Android smartphone I can get into the Pydio webpage but when I try to get into it using the Android Sync Client I get the same error message.

Do you know if No-IP Dynamic DNS service is not compatible with Pydio? Has anybody tried to do the same as me before? Which results?

Thank you,
skyfly555
Posts: 81
Joined: Tue Nov 17, 2015 12:16 pm

Re: Pydio Sync Client not working in the LAN with Pydio

Post by skyfly555 »

Solved.

1- I've deleted the pydio folder on /www/var/.
2- I've followed this tutorial:
https://pydio.com/en/docs/kb/system/ins ... ebiannginx
The only difference I've downloaded Pydio directly from the terminal:

Code: Select all

wget http://downloads.sourceforge.net/project/ajaxplorer/pydio/stable-channel/6.4.1/pydio-core-6.4.1.zip
After that, I've created a self-signed SSL certificate as explained in:
http://martin-denizet.com/nginx-configu ... -with-ssl/

I've done this because LetsEncrypt doesn't give SSL certificates for NO-IPs domains (mine is xxx.ddns.net).

After that, I've installed everything as Fourdee describes in its guide, using the same MySQL database, and so on.

Finally, my OS X Pydio Client Sync has worked, and I don't have any of the warnings I had the first time I installed Pydio

Conclusion: The problem was not a DNS related theme, but the way Pydio was installed on my Odroid C2. After many tests, I realised the problem was API was not working properly. Reinstalling Pydio, problem got solved.

I hope this can help anybody.
Last edited by skyfly555 on Sun Jun 19, 2016 10:30 pm, edited 3 times in total.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Pydio Sync Client not working in the LAN with Pydio

Post by Fourdee »

skyfly555 wrote:This is why LetsEncrypt doesn't give SSL certificates for NO-IPs domains.
Hi Skyfly,

Bizzare, I was able to get a LetEncrypt SSL cert for fuzon.co.uk a while back, although, this was for a NoIp managed dns. Was your NoIp url one of the free ones?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
skyfly555
Posts: 81
Joined: Tue Nov 17, 2015 12:16 pm

Re: [SOLVED Pydio Sync Client not working in the LAN with Py

Post by skyfly555 »

Hello, Fourdee, Thank you for your feedback.

Yes, I have to say I'm using a free No-IP domain, not a managed one. If I had a managed one, it could be xxx.com and I could have a LetsEncrypt certificate, but because my domain is a xxx.ddns.net, and somebody before me has asked to LetsEncrypt an SSL cert for his whatever.ddns.net domain, I cannot get one.

This is the handicap of free No-IP dynamic domains.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: [SOLVED Pydio Sync Client not working in the LAN with Py

Post by Fourdee »

skyfly555 wrote:and somebody before me has asked to LetsEncrypt an SSL cert for his whatever.ddns.net domain, I cannot get one.

This is the handicap of free No-IP dynamic domains.
Ah, yes, LetEncrypt has a limit on how many certs you can do a month. I believe it was 5 certs when I was testing it. So Letencrypt must only be checking the base domain (*.ddns.net).

It may be worth creating a git ticket for LetsEncrypt (now certbot): https://github.com/certbot/certbot/issues
Maybe other users have the same issue with NoIp free domains, should give it some traction.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
MonZon
Posts: 45
Joined: Fri Mar 31, 2017 6:07 pm

Re: [SOLVED] Pydio Sync Client not working with Pydio

Post by MonZon »

I've tried to install Pydio twice - on RPi3 and on VirtualBox image of the latest DietPi. Both times it installed just fine, but I can't use Pydio Sync on Windows - Error while trying to connect to http://192.168.1.23/pydio :
Server not found (404), is it up and has it Pydio installed ?

I don't have HTTPS, just plain HTTP and everything else is default DietPi configs.

Any help, please?
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: [SOLVED] Pydio Sync Client not working with Pydio

Post by MichaIng »

By "use Pydio Sync on Windows" you mean accessing the webUI via browser form remote Windows system?

Which webserver did you choose/install?
I just tried install on Stretch VM with default Lighttpd and it works well and webUI shows up. It shows a warning an an error about output buffering and direct accessible data directory. This is because we currently only actively configure Apache: https://github.com/Fourdee/DietPi/issues/1913
But this does not break access.
MonZon
Posts: 45
Joined: Fri Mar 31, 2017 6:07 pm

Re: [SOLVED] Pydio Sync Client not working with Pydio

Post by MonZon »

No, web access is fine. I'm trying to use sync client apphttps://pydio.com/en/get-pydio/download ... esktop-app.
I haven't changed default web server, so I guess it is Lighttpd.
Last edited by MonZon on Sun Nov 18, 2018 8:20 pm, edited 1 time in total.
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: [SOLVED] Pydio Sync Client not working with Pydio

Post by MichaIng »

Ah jep, just found that. Will test as well.
Post Reply