owncloud / owncloud/ocis

hardcoded localhost?

Open
#7,258 2 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

I suspect its somewhere hardcoded localhost into the url, but this is what im getting
![bug](https://gyazo.com/0ee3c8a088a1da2ebe897b08741c4fd6.gif)
![bug2](https://gyazo.com/6e35e08ea477c324e7fe022cdece111d.gif)

we can see if i modify the url away from localhost it would actually work (obviously as the installation is not localhost)

i am trying to install ocis using docker-compose, i will attach my compose file (i had generated the init file already)

```
version: "3.7"
services:
ocis:
image: owncloud/ocis:latest
networks:
br0:
ipv4_address: 192.168.1.186
volumes:
- /mnt/cache_nvme/appdata/owncloud/ocis.yaml:/etc/ocis/ocis.yaml
- /mnt/cache_nvme/appdata/owncloud/ocis-data:/var/lib/ocis
networks:
br0:
external: true
```

my env file has
```
OCIS_INSECURE=true
OCIS_URL=https://192.168.1.186:9200
OCIS_LOG_LEVEL=debug
PROXY_HTTP_ADDR=0.0.0.0:9200
IDM_CREATE_DEMO_USERS=true
```

I am using docker ipvlan but that shouldn't matter in this

```
~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:40:C6:EC
inet addr:192.168.1.186 Bcast:192.168.15.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9256 errors:0 dropped:641 overruns:0 frame:0
TX packets:3872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:952337 (930.0 KiB) TX bytes:37837547 (36.0 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8810 errors:0 dropped:0 overruns:0 frame:0
TX packets:8810 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33095632 (31.5 MiB) TX bytes:33095632 (31.5 MiB)
```

## Expected behavior
the page to load?

## Actual behavior
the page does not load

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.