Hallo,
nach anfänglichen Verständnisproblemen läuft EGW 19.1 auf einem neuen CentOS 8 Server. Auch letsencrypt hat sich dank der Hilfe von Stefan und Ralf überreden lassen, auch auf meinem Server für ein Mindestmaß an Sicherheit zu sorgen. Aber leider kommt jetzt das nächste Problem und ich schätze auch hier habe ich irgendwas nicht verstanden.
ich kämpfe mit rocketchat. blödes Ding. Auch unter Berücksichtigung dieser Anmerkungen komme ich nicht weiter:
- läuft ja mittlerweile
- nicht mit “404 Not Found, The requested URL /rocketchat/ was not found on this Server”
[root@webserver egroupware-rocketchat]# sudo docker logs rocketchat
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
{"line":"120","file":"migrations.js","message":"Migrations: Not migrating, already at version 184","time":{"$date":1587581709699},"level":"info"}
ufs: temp directory created at "/tmp/ufs"
Loaded the Apps Framework and loaded a total of 0 Apps!
Updating process.env.MAIL_URL
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
➔ System ➔ startup
➔ +-----------------------------------------------------+
➔ | SERVER RUNNING |
➔ +-----------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 3.1.1 |
➔ | NodeJS Version: 12.16.1 - x64 |
➔ | MongoDB Version: 4.0.17 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://172.16.1.4/rocketchat |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: 0a16a86bee |
➔ | Commit Branch: HEAD |
➔ | |
➔ +-----------------------------------------------------+
[root@webserver egroupware-rocketchat]# sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3f899703f2a1 rocketchat/rocket.chat:latest "bash -c 'for i in `…" 30 minutes ago Up 30 minutes 127.0.0.1:3000->3000/tcp rocketchat
1e9f4af2b6ec nginx:stable-alpine "nginx -g 'daemon of…" 6 days ago Up 58 minutes 127.0.0.1:8080->80/tcp egroupware-nginx
d98b02674deb egroupware/egroupware:latest "/entrypoint.sh php-…" 6 days ago Up 58 minutes 9000/tcp egroupware
119f00baec41 mongo:4.0 "docker-entrypoint.s…" 6 days ago Exited (0) 30 minutes ago egroupware-rocketchat_mongo-init-replica_1
2b5377f6c846 mongo:4.0 "docker-entrypoint.s…" 6 days ago Up 58 minutes 27017/tcp rocketchat-mongo
7fba04ff8a53 containrrr/watchtower "/watchtower --sched…" 6 days ago Up 58 minutes egroupware-watchtower
815e61293de7 quay.io/egroupware/collabora-key:stable "/bin/sh -c 'bash st…" 6 days ago Up 58 minutes 127.0.0.1:9980->9980/tcp collabora-key
meine docker-compose:
version: '2'
volumes:
# store MongoDB on an (internal) Volume
mongo:
services:
rocketchat:
image: rocketchat/rocket.chat:latest
command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)'
restart: unless-stopped
volumes:
- /var/lib/egroupware/default/rocketchat/uploads:/app/uploads
# if EGroupware uses a certificate from a private CA, OAuth authentication will fail, you need to:
# - have the CA certificate stored at /etc/egroupware-docker/private-ca.crt
# - uncomment the next 2 lines about the private CA:
# - /etc/egroupware-docker/private-ca.crt:/usr/local/share/ca-certificates/private-ca.crt:ro
environment:
# - NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/private-ca.crt
# IMPORTANT: change ROOT_URL to your actual url eg. https://domain.com/rocketchat
- ROOT_URL=https://XXXXXXXX/rocketchat
- PORT=3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local
# - HTTP_PROXY=http://proxy.domain.com
# - HTTPS_PROXY=http://proxy.domain.com
depends_on:
- mongo
ports:
- 127.0.0.1:3000:3000
container_name: rocketchat
# set the ip-address of your docker host AND your official DNS name so Rocket.Chat
# can access EGroupware without the need to go over your firewall
#extra_hosts:
#- "my.host.name:ip-address"
mongo:
image: mongo:4.0
restart: unless-stopped
volumes:
- mongo:/data/db
- /var/lib/egroupware/default/rocketchat/dump:/dump
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
container_name: rocketchat-mongo
# this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running)
mongo-init-replica:
image: mongo:4.0
command: 'bash -c "for i in `seq 1 30`; do mongo mongo/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"'
depends_on:
- mongo
…ich komme wieder nicht weiter. oder ich bin einfach zu blöd
created
last reply
- 16
replies
- 2.7k
views
- 2
users
- 7
links