Hey all, I was trying to upload some custom icons up to my Xwiki (favicon) despite it saying it failed, the files are actually uploaded and visible when you reload the page, as shown on these two images here: Microsoft OneDrive (There is no log in catalina.out saying anything is wrong, but there would not be as the upload succeeds, so not really sure if this is some strange js problem)
But thats not as big of a problem as this one when you try to add a picture to a page via the ‘edit page’ function, the moment the [picture] icon is clicked the screen flashes (like its about to draw a model) and then returns to to the editor overlay with an error in the js console: Microsoft OneDrive
Also the editor(entire of it) appears to not work in edge at all: Microsoft OneDrive just sits in loading screen forever
This may be related to: Xwiki not using HTTPS post-form submit - #2 by PaulGWebster if somewhere its generating HTTP links instead of HTTPS ? maybe
If you need any more information to help me debug this one you could also msg me on xwiki my nickname is ‘daemon’
Some additional details:
Server: FreeBSD 11.2
Java: openjdk8-8.172.11_1
XWiki(webapps/wiki/WEB-INF) # cat version.properties => version=10.6.1
DB: postgresql10-server-10.4_1
Proxy: nginx-1.14.0_10
Nginx is configured in possibly the most simple way possible, its pretty much just a straight reverse proxy, but here it is just for completeness:
http { include mime.types; default_type application/octet-stream; log_format main '$host: $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"'; sendfile on; keepalive_timeout 65; gzip on; server { listen 80; access_log /var/log/nginx/http.access.log main; location ^~ /.well-known { root /exports/$host; autoindex off; } location / { return 301 https://$host$request_uri; } } server { listen 80; server_name trueos.bsddoc.com openbsd.bsddoc.com netbsd.bsddoc.com pfsence.bsddoc.com freenas.bsddoc.com; location / { return 302 https://bsddoc.com; } } server { listen 443 ssl; server_name freebsd.bsddoc.com bsddoc.com; access_log /var/log/nginx/xwiki.access.log main; ssl_certificate /exports/le/fullchain.pem; ssl_certificate_key /exports/le/privkey.pem; location /wiki/ { proxy_pass http://bsddoc.com:8080; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $remote_addr; } location / { rewrite ^/$ https://$host/wiki/bin/view/Main/; } } }