Page not displaying properly on initial wizard

9.1.x

#1

Hi,

I've installed owncloud from the epel repository on Centos 7. When I try to access owncloud, the page isn't displaying properly (see the attachment)

I made sure that php is correctly installed using phpinfo and all the information related to php is displayed correctly. I also cannot choose another database, and I'm guessing that's also because the page isn't displayed properly. I'm not sure what I'm doing wrong. Owncloud does install all its dependencies and I've installed it previously on another server and it has worked just fine for some years now.

Any ideas how I can begin troubleshooting this?

(I've just tried it on another Centos server and it's displaying correctly. Don't understand where the difference is)


#2

Hi,

You could finish the setup manually via occ commands


#3

I actually did finish it as I could click the "Storage & database" section, but the page is still displayed badly. So the wizard itself is not the problem. It's the rendering.


#4

If the setup pages looks like this your setup is broken. Looks like css and js files are no loaded.
Please double check the browser console and web server error and access logs.


#5

This is the last part of access.log:
5.12.109.21 - - [19/Dec/2017:12:43:05 +0200] "GET /owncloud/core/img/favicon.ico HTTP/1.1" 200 4958 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
5.12.109.21 - - [19/Dec/2017:12:43:11 +0200] "GET /owncloud/index.php/login HTTP/1.1" 200 10719 "http://lethargos1.mylabserver.com/owncloud/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
5.12.109.21 - - [19/Dec/2017:12:43:12 +0200] "GET /owncloud/index.php/core/js/oc.js?v=5107a852056fc9315bf76e3f0dec9c26 HTTP/1.1" 200 2699 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
5.12.109.21 - - [19/Dec/2017:12:43:12 +0200] "GET /owncloud/core/img/favicon.ico HTTP/1.1" 200 4958 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
5.12.109.21 - - [19/Dec/2017:12:43:12 +0200] "GET /owncloud/cron.php HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"

There are no errors in Apache's error_log.

On Chrome console nothing much is written:
JQMIGRATE: Migrate is installed, version 1.4.0
login:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.


#6

The problem was actually related to the browser somehow, although I can't understant the details. On Safari and Chrome the page didn't work properly, whereas on Firefox, it did. On another vm (also Centos 7) that I accessed in LAN with my ip, it worked fine. And again, on another vps that I accesss by domain (writing the name in the bar, not the IP) and which has ssl configured, it also worked fine. So eventually, I installed tls/https, and chrome started displaying the page properly. I think this is part of the explanation, but I don't understand it thoroughly: