Android app doesn't work with docker setup 'does not seem to be a Pydio server.'

Hi all,

I’m just trying to evaluate pydio cells and a key requirement is a decent android app, so I have setup pydio on my server via docker-compose

When I open the app and point it at https://192.168.1.222:8200 (my server IP), and then accept the certificate I just get the above error messsage - I had to record my phone screen cos it was dissappearing so fast.

EDIT: I’ve updated the app now, I just accept the certificate and it goes back to the previous screen and says invalid certificate for https://192.168.1.222:8080

This is my docker compose file:


version: '3.7'
services:

  cells:
    image: pydio/cells:latest
    restart: unless-stopped
    ports:
      - "8080:8080" 
      - "8031:8031"
    environment:
      - CELLS_LOG_LEVEL=production
    volumes:
      - data:/var/cells/data
      - cellsdir:/var/cells

  mysql:
    image: mysql:5.7
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: P@ssw0rd
      MYSQL_DATABASE: cells
      MYSQL_USER: pydio
      MYSQL_PASSWORD: P@ssw0rd
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    volumes:
      - mysqldir:/var/lib/mysql

volumes:
    data: {}
    cellsdir: {}
    mysqldir: {}

Did you set a public external URL for your server ?

It is compulsory for the OAuth credential flow.

If you are doing a quick and dirty test, the easier would be

docker compose exec cells /bin/sh
# and inside the container
cells configure sites
exit
# restart 
docker compose restart cells

Nope, I’m behind a CGNAT so I can’t have an external public facing IP, so I’ve setup zerotier to effectively VPN into my local network.

I think you’re missing some commands - once I try to configure cells what settings do I need to change?

Ahhhhhhh perfect, I read between the lines and figured it out.

Because you said oauth is mandatory I set the external url to be https://192.168.1.222:8080 IP address and port of my server, outside the docker container and now i’m able to login!!!

Yes, that’s it: you have to tell the Cells Server at which address it will be reachable for the end user otherwise the OAuth Flow is broken.

Anyway, thanks for letting us know that it now works.

Happy file sharing

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.