Welcome screen always opens #2479

Closed
jangxx opened this Issue Mar 20, 2013 · 24 comments

Projects

None yet

8 participants

@jangxx
jangxx commented Mar 20, 2013

The welcome screen always opens. Even if I log out I see the popup, but it's showing a login screen which looks kinda strange. I disabled the app 'First Run Wizard' but that made it even more buggier; The popup still always opens (whenever I click something) but it hasn't a proper border and is offset towards the upper left border of the screen.
screen

@jancborchardt
Member

@jangxx this looks like a Javascript error. Can you open the error console and see if which errors there are? Also, can you test if it also happens in a different browser.

@jangxx
jangxx commented Mar 20, 2013

It seems like I fixed it by re-enabling the "First Run Wizard" in the SQLite database (the web interface gave me an error) so I can't reproduce it right now, but I'll update this as soon as it breaks again.

@jancborchardt
Member

@jangxx ok, thanks! Just let me know if the error comes up again and we’ll look into it again. Preferably with errors from the console then. :)

@jangxx
jangxx commented Mar 25, 2013

Okay, today I set up owncloud again and got the same problem. This time I looked in the console and I saw nothing but logged XHRs.

XHR finished loading: "https://domain/index.php/core/ajax/translations.php". core.js:84
XHR finished loading: "https://domain/index.php/core/routes.json". core.js:84
XHR finished loading: "https://domain/core/img/breadcrumb.svg". core.js:84
XHR finished loading: "https://domain/cron. core.js:84
XHR finished loading: "https://domain/index.php/core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file". core.js:84
XHR finished loading: "https://domain/index.php/apps/firstrunwizard/wizard.php". core.js:84
XHR finished loading: "https://domain/index.php/apps/firstrunwizard/ajax/disable.php". core.js:84

One in there caught my eye:

XHR finished loading: "https://domain/index.php/apps/firstrunwizard/ajax/disable.php".

It seems to know that it's disabled, but the data is sent anyway or something like this.
Btw this issue doesn't appear in Firefox, but in Chrome it does.

@jancborchardt
Member

@jangxx thanks for the info!
@karlitschek can you look into this?

@jancborchardt jancborchardt reopened this Mar 25, 2013
@karlitschek karlitschek was assigned Mar 25, 2013
@jancborchardt
Member

@karlitschek more people seem to be having this problem, can you check it out?

@karlitschek
Member

I had the issue with an old version of chrome once but it went away with all newer versions. Can everybody who has this issue please post the used browser and version?

@kkinder
kkinder commented Apr 3, 2013

This is happening for me as well.

I see a couple of things in Chrome's console:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". (jquery-1.4.1.min.js:35 jquery-1.4.1.min.js:35 query-1.4.1.min.js:36 jquery-1.4.1.min.js:152)
Refused to load the script 'https://ssl.google-analytics.com/ga.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'".

@LukasReschke
Member

This is happening for me as well.

You're including external Javascript which is forbidden by the Content-Security-Policy of ownCloud. If you really want to track your users take a look at the custom_csp_policy setting in config.sample.php

@kkinder
kkinder commented Apr 3, 2013

I didn't add the Google Analytics. I thought it was OwnCloud.

@karlitschek
Member

@kkinder Interesting. Where have you got owncloud from and how have you installed it?

@karlitschek
Member

And yes, we definitely don't include google tracking in ownCloud.

@kkinder
kkinder commented Apr 3, 2013

My installation process was "wget https://download.owncloud.com/download/community/setup-owncloud.php" this morning. I'm hosting on WebFaction. I grepped through the sources for google-analytics, and found it in 3rdparty/fontawesome/docs, but nowhere else. Something weird is going on.

@kkinder
kkinder commented Apr 3, 2013

I also don't see google analytics being directly included in the source, but the error is still in the console. It's probably unrelated, but it's just weird.

@LukasReschke
Member

I also don't see google analytics being directly included in the source, but the error is still in the console. It's probably unrelated, but it's just weird.

Could be a Chrome extension which is tracking you (wouldn't be good), try to open it with private mode enabled which by default disabled all extensions.

@kkinder
kkinder commented Apr 3, 2013

Yup, it was a Chrome extension causing both problems. I imagine that the jquery problem is why the window wasn't closing.

(FYI, it was "View Through" a URL unshortener. I don't know if it's intentionally spyware or not, but I'll definitely be reporting it!)

@kkinder
kkinder commented Apr 3, 2013

Please accept my apologies for the distraction. Having said that, with the extension disabled, both problems are fixed in the console and the window doesn't persistently popup, so I believe that was the issue. Wow. Beware, huh?

@jancborchardt
Member

@kkinder no worries, glad it’s fixed for you.

@jangxx I suppose you don’t have a browser extension interfering as well?

@asarchami

I have the same problem. I also use Firefox and everything works fine there.
I disabled and re-enabled a random extension and now everything works fine on chrome

@jancborchardt
Member

So I assume the issue is fixed for everyone? Being caused by some extension in Chrome probably. Please reopen if the problem persists.

@Streep
Streep commented Aug 9, 2013

I still have this problem! The console gives when loading a page:

[14:00:55.164] GET http://192.168.2.1/index.php/apps/files [HTTP/1.1 200 OK 1918ms]
[14:00:56.932] GET http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 200 OK 4749ms]
[14:00:56.933] GET http://192.168.2.1/index.php/apps/files/css/files.css?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 200 OK 2277ms]
[14:00:56.934] GET http://192.168.2.1/index.php/core/js/config.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 200 OK 5805ms]
[14:00:56.934] GET http://192.168.2.1/remote.php/core.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 200 OK 5431ms]
[14:00:56.935] GET http://192.168.2.1/apps/files/js/file-upload.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 75ms]
[14:00:56.935] GET http://192.168.2.1/apps/files/js/jquery.iframe-transport.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 125ms]
[14:00:56.936] GET http://192.168.2.1/apps/files/js/jquery.fileupload.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 177ms]
[14:00:56.936] GET http://192.168.2.1/apps/files/js/jquery-visibility.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 206ms]
[14:00:56.937] GET http://192.168.2.1/apps/files/js/filelist.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 240ms]
[14:00:56.937] GET http://192.168.2.1/apps/files/js/fileactions.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 260ms]
[14:00:56.938] GET http://192.168.2.1/apps/files/js/files.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 290ms]
[14:00:56.939] GET http://192.168.2.1/apps/files/js/keyboardshortcuts.js?v=747c1bcceb6109a4ef936bc70cfe67de [HTTP/1.1 304 Not Modified 311ms]
[14:00:59.151] Error in parsing value for 'filter'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files/css/files.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:00:59.151] Unknown property 'box-sizing'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files/css/files.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.625] Unknown property '-moz-border-radius'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.625] Unknown property '-moz-box-shadow'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.626] Error in parsing value for 'filter'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.626] Unknown property 'box-sizing'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.627] Unknown property 'list-style-indent'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.628] Unknown property '-moz-border-radius-bottomleft'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.628] Unknown property '-moz-border-radius-bottomright'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.628] Unknown property '-moz-border-radius-topleft'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.630] Expected colour but found 'top'.  Error in parsing value for 'background-image'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.630] Error in parsing value for 'background-image'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.635] Unknown property 'zoom'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.636] Error in parsing value for 'height'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.636] Error in parsing value for 'top'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.636] Expected declaration but found '*'.  Skipped to next declaration. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.636] Unknown property '-moz-background-clip'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.636] Error in parsing value for 'background'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.640] Error in parsing value for 'padding'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.640] Unknown property '-moz-background-size'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:01.643] Error in parsing value for 'margin'.  Declaration dropped. @ http://192.168.2.1/remote.php/core.css?v=747c1bcceb6109a4ef936bc70cfe67de:1
[14:01:02.782] Unknown property 'box-sizing'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files:1
[14:01:02.783] Unknown property 'appearance'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files:1
[14:01:02.783] Unknown property '-moz-border-radius'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files:1
[14:01:02.783] Error in parsing value for 'background-image'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files:1
[14:01:02.783] Unknown property '-moz-box-shadow'.  Declaration dropped. @ http://192.168.2.1/index.php/apps/files:1
[14:01:03.060] GET http://192.168.2.1/index.php/core/routes.json [HTTP/1.1 200 OK 2236ms]
[14:01:03.060] POST http://192.168.2.1/index.php/core/ajax/translations.php [HTTP/1.1 200 OK 3576ms]
[14:01:03.061] GET http://192.168.2.1/cron.php [HTTP/1.1 200 OK 5473ms]
[14:01:03.061] GET http://192.168.2.1/index.php/core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file [HTTP/1.1 200 OK 10338ms]
[14:01:03.062] GET http://192.168.2.1/remote.php/images/controls.png [HTTP/1.1 404 Not Found 7320ms]
[14:01:03.063] GET http://192.168.2.1/index.php/apps/firstrunwizard/wizard.php [HTTP/1.1 200 OK 6798ms]
[14:01:06.606] GET http://192.168.2.1/index.php/apps/files/ajax/scan.php?force=false&dir=&requesttoken=0f72c4323836979bb968 [HTTP/1.1 200 OK 5660ms]
[14:01:06.682] GET http://192.168.2.1/remote.php/images/loading.gif [HTTP/1.1 404 Not Found 4301ms]

And this when I click the welcome screen away:

[14:05:54.738] GET http://192.168.2.1/index.php/apps/firstrunwizard/ajax/disable.php [HTTP/1.1 200 OK 1487ms]

And then nothing... can anyone make head or tails from this? I keep getting the welcome screen on every page...

@Streep
Streep commented Aug 11, 2013

Never mind, I switched to another web server and now it's ok. I used uhttpd (on OpenWrt). With lighttpd it works. Must have been a cookie problem.

@zachbrowne

For me it was TamperMonkey on Chrome. Disabled it and it works fine.

@jancborchardt
Member

If anyone knows what we can add to not make the welcome screen always open even with these extensions enabled, please let us know. Otherwise we consider this issue fixed because extensions are beyond our influence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment