Comments (9)
Hi there,
Can you please use the forum in the future to ask for help on a setup issue
? (https://github.com/pydio/cells/blob/master/CONTRIBUTING.md)
That being said, you should try removing the CELLS_NO_SSL (and re-adding the CELLS_EXTERNAL config). This will start the pydio cells with ssl self_signed. Communication between your proxy and cells should then be using ssl, so redirect to https instead of http.
The way the CELLS_EXTERNAL currently work is that you can't have a different domain / protocol than what is setup in the proxy at the moment. That is a shortcoming we've been recently been made aware of and we'll add that to the documentation shortly.
Thanks,
Greg
from cells.
HY @ghecquet - thanks for the quick response, from my pov this was an issue. You may add a quick notice to the Documentation so Users got not confused (like me) :)
One more Question:
On Pydio Compose i've added:
- "traefik.protocol=https"
to tell the proxy its a ssl backend, fine.
Second: I've added insecureSkipVerify = true
to traefik config to allow self signed certs.
I was only able to access the setup from outside with:
- CELLS_BIND=cloud.berndklaus.at:8080
- CELLS_EXTERNAL=cloud.berndklaus.at:8080
- CELLS_NO_SSL=0
Setup runs and finished, no Error in the logs.
But after Install the site does not load. Any ideas?
from cells.
@Berndinox did you ever get this to work with Traefik (and ssl)?
I was playing with this all day without success, I always end up with the same error as you had.
from cells.
Hi, can you please give any more details on your configuration to see if we can help you out ?
Thanks,
Greg
from cells.
Sure, I'm going to do a fresh install and I will post the output here later this week
Thanks
from cells.
This configuration works :
# pydio.yml
version: '3'
services:
pydio:
image: pydio/cells:1.2.1
volumes: ["data:/root/.config/pydio/cells:nocopy"]
environment:
- CELLS_BIND=0.0.0.0:8080
- CELLS_EXTERNAL=${DOMAIN:?err}
- CELLS_NO_SSL=1
deploy:
labels:
traefik.port: 8080
traefik.frontend.rule: Host:${DOMAIN:?err}
traefik.enable: "true"
traefik.docker.network: traefik-net
networks:
- internal
- traefik
mysql:
image: mysql:5.7
volumes: ["mysql:/var/lib/mysql:nocopy"]
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd
MYSQL_DATABASE: cells
MYSQL_USER: pydio
MYSQL_PASSWORD: P@ssw0rd
networks:
- internal
volumes:
data:
mysql:
networks:
internal:
traefik:
external:
name: traefik-net
After deploy with DOMAIN=mydomain.com docker stack deploy -c pydio.yml pydio
, I changed manually the /root/.config/pydio/cells/pydio.json
file with the good url
param :
"url": "http://mydomain.com" -> "url": "https://mydomain.com"
Thanks to @bschulz87
from cells.
I stuck quite some time on this - you HAVE to add a port to the CELLS_BIND value.
Here are my envs for Pydio with jrcs' letsencrypt-nginx-proxy-companion:
CELLS_NO_SSL | 0
CELLS_EXTERNAL | pydio.my.domain
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
CELLS_VERSION | 1.2.1
VIRTUAL_HOST | pydio.my.domain
LETSENCRYPT_HOST | pydio.my.domain
LETSENCRYPT_EMAIL | [email protected]
VIRTUAL_PORT | 8080
CELLS_BIND | pydio.my.domain:8080 //<- This port is MANDATORY!
from cells.
Thx @Mohl indeed we have updated the docs for that. Closing this for now.
from cells.
Hi!
Sorry for bumping closed issue.
I tried to get this work on locally. But getting weird sql issues. Has this image being changed or something?
I tried to make it work locally.
version: '3'
services:
pydio:
image: pydio/cells:1.2.1
volumes: ["data:/root/.config/pydio/cells:nocopy"]
environment:
- CELLS_BIND=0.0.0.0:8080
- CELLS_EXTERNAL=pydio.localhost
# - CELLS_NO_SSL=1
labels:
traefik.port: 8080
traefik.frontend.rule: Host:pydio.localhost
traefik.enable: "true"
traefik.docker.network: srv
networks:
- internal
- srv
mysql:
image: mysql:5.7
volumes: ["mysql:/var/lib/mysql:nocopy"]
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd
MYSQL_DATABASE: cells
MYSQL_USER: pydio
MYSQL_PASSWORD: P@ssw0rd
networks:
- internal
volumes:
data:
mysql:
networks:
internal:
srv:
external: true
Logs says
mysql_1 | 2019-07-04T19:08:49.566727Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1 | 2019-07-04T19:08:49.589832Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1 | 2019-07-04T19:08:49.589991Z 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '5.7.26' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
pydio_1 | 2019-07-04T19:08:49.857Z INFO Cannot find default database! Please make sure that databases are correctly configured and started.
lufi_pydio_1 exited with code
from cells.
Related Issues (20)
- Error when sharing a folder HOT 1
- Cells ( v4.2.0) does not build on Go 1.20 HOT 2
- [4.2] Public Link for directory is broken if "enable search in minisite is turned on" HOT 7
- Pydio Cells на russian
- Error “Pydio is not defined” when run build-core command in gui.ajax folder HOT 9
- Cannot login on `dev-next` docker image
- Error when Install via Helm HOT 2
- Charset / utf8mb4 related trouble running cells configure
- Password change fails when forcing MFA at the same time HOT 1
- Enhancement: language support for collabaro (editor libreoffice) HOT 1
- docker image: variable for database location and database passord
- cannot install (cells.exe configure) HOT 2
- Docs for k8s installs HOT 12
- writing files to webdav share / mountpoint of public links creates empty files (locking enabled)
- Remember me feature is not available
- WebDAV directory listing is too slow HOT 5
- docker image does not recognise timezone appropriately HOT 2
- Policy applied on shared cell is also affecting own cell HOT 1
- Web Interface Menu point of return to main page from cells console are missed if turn off home section HOT 2
- The circle that allows the user to navigate through an audio file during preview disappear HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cells.