Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top right menu items not correct after upgrade to 12.0.3 #6587

Closed
X4LD1M0 opened this issue Sep 20, 2017 · 21 comments
Closed

Top right menu items not correct after upgrade to 12.0.3 #6587

X4LD1M0 opened this issue Sep 20, 2017 · 21 comments

Comments

@X4LD1M0
Copy link

X4LD1M0 commented Sep 20, 2017

Steps to reproduce

  1. Upgrade from 12.02 to 12.0.3
  2. Login to NextCloud

Expected behaviour

Top right menu should show 3 items in a row:

  1. Search
  2. Contacts
  3. Settings

image

Actual behaviour

The top right menu items are show vertically, causing other buttons (for example Collabora close button) not to be accessible

image

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: MySQL 5.5.53

PHP version: 7.0.22

Nextcloud version: 12.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Upgrade from 12.0.2

Where did you install Nextcloud from: Download from nextcloud.com

Signing status:

Signing status No errors have been found.

List of activated apps:

App list Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - announcementcenter: 3.1.0 - bookmarks: 0.10.1 - bruteforcesettings: 1.0.2 - comments: 1.2.0 - dav: 1.3.0 - deck: 0.2.2 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_accesscontrol: 1.2.4 - files_automatedtagging: 1.2.2 - files_downloadactivity: 1.1.1 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_retention: 1.1.2 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - onlyoffice: 1.1.4 - passman: 2.1.4 - password_policy: 1.2.2 - previewgenerator: 1.0.6 - provisioning_api: 1.2.0 - richdocuments: 1.12.34 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - socialsharing_email: 1.0.1 - socialsharing_facebook: 1.0.1 - spreedme: 0.3.11 - survey_client: 1.0.0 - systemtags: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0 Disabled: - encryption - user_external - user_ldap

Nextcloud configuration:

Config report { "system": { "instanceid": "occ3bgzu13dp", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.domain.tld" ], "forwarded_for_headers": [ "HTTP_X_FORWARDED", "HTTP_FORWARDED_FOR", "X-Forwarded-For" ], "datadirectory": "\/media\/nextcloud", "overwrite.cli.url": "https:\/\/cloud.domain.tld", "dbtype": "mysql", "version": "12.0.3.3", "dbname": "nextcloud_stable", "dbhost": "192.168.7.244", "dbtableprefix": "nc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true, "trusted_proxies": [ "192.168.7.241", "192.168.7.245" ], "overwriteprotocol": "https", "overwritehost": "cloud.domain.tld", "overwritewebroot": "\/" "mail_from_address": "cloud", "mail_smtpmode": "smtp", "mail_domain": "domain.tld", "memcache.local": "\\OC\\Memcache\\Redis", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "localhost", "port": 6379 }, "maintenance": false, "log_type": "owncloud", "logfile": "\/var\/log\/nextcloud-stable.log", "loglevel": "0", "log_rotate_size": "104857600", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtphost": "smtp.domain.tld", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "htaccess.IgnoreFrontController": true, "updater.server.url": "https:\/\/updates.nextcloud.org\/updater_server\/", "filesystem_check_changes": 1, "enable_previews": true, "preview_max_x": 800, "preview_max_y": 800, "preview_max_scale_factor": 4, "skeletondirectory": "\/media\/nextcloud\/skeleton", "session_keepalive": true, "activity_expire_days": 365, "mail_smtpsecure": "tls", "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\PDF" ], "asset-pipeline.enabled": true, "share_folder": "\/Shares" } }

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: N/A

Client configuration

Browser: Chrome 61.0.3163.91

Operating system: Kubuntu 16.04

Logs

Web server error log

Web server error log

Nothing relevant for this issue.

Nextcloud log (data/nextcloud.log)

Nextcloud log

Nothing relevant for this issue.

Browser log

Browser log

Nothing relevant for this issue.

@linuxrrze
Copy link

Same here

@ckubu
Copy link

ckubu commented Sep 20, 2017

On Firefox Browser (v 55.02 Ubuntu Linux / v 55.03 Windows 10) also the top left menu is gone.
(nextcloud 12.03 on debian jessie system)

@arkascha
Copy link
Contributor

Same here, once more styling is broken.
In addition to a completely wrong placement of the menu icon the contents of the menu itself are broken too, alignment of symbols and text entries does not work, all entries are broken to two lines which makes the menu appear "scrambled".
Also the theming app does not work, it is not able to set background image and logo, though the upload does work. But AFAIK that app has never really worked.

@mejo-
Copy link
Member

mejo- commented Sep 20, 2017

Have you read issue #6542? It has more details on the background of this bug. It seems like it only happens on setups with a symlink as DocumentRoot. Apparently some cached CSSs still point to the old instance.

For me, the issue was solved after I moved away the directory containing the old instance and did a hard page reload in firefox (Ctrl+F5).

@X4LD1M0
Copy link
Author

X4LD1M0 commented Sep 20, 2017

I can confirm by moving the old instance (rename to _bak) and then do a page reload (Ctrl+F5) does resolve the issue. Then moving the old instance back seems to still keep it to the new instance.

@user897435
Copy link

I can confirm this as well.

Upgraded from 12.0.2 to 12.0.3 and NO symlinks used -> header does not contain items at the right side anymore. They work (menus open), but there's no visible items in header / right.

Some other icons look like missing as well (selecting files gives only one icon left side of Tags item) and I think the font has changed.

I pretty much ruled out cache issues as well.

@MorrisJobke
Copy link
Member

cc @juliushaertl @skjnldsv Any idea?

@skjnldsv
Copy link
Member

@MorrisJobke Seems related to a cache issue.
We should implement a scss clear on upgrade! :)

@tkocher
Copy link

tkocher commented Sep 25, 2017

hello, maybe newbe question but how can I clear the scss manually?

Thanks

@ckubu
Copy link

ckubu commented Sep 25, 2017

Flush the cache of your caching engine. Using memcachd,, normaly a restart is sufficient. Using redis, restarting is NOT suffcient. In this case, either use commandline interface (redis-cli) with option 'flushall' or remove cach-file yourself (usually /var/lib/redis/dump.rdb) befor restarting redis service.

@user897435
Copy link

user897435 commented Sep 25, 2017

Ruled out cache issues already, flushed redis-server and stopped the service and removed the database.

screen shot 2017-09-25 at 19 39 08

screen shot 2017-09-25 at 19 40 26

screen shot 2017-09-25 at 19 39 13

@ckubu
Copy link

ckubu commented Sep 25, 2017

F5 ?

@user897435
Copy link

Tried it using two clients and clearing all caches.

@ckubu
Copy link

ckubu commented Sep 25, 2017

sorry: i was meaning reloading page in your browser with 'ctrl + F5'

@user897435
Copy link

user897435 commented Sep 25, 2017

I know ;)

  • used two different computers
  • cleared caches
  • disabled caches
    -> the problem persists

(there's no ctrl+f5 in macs ;))

  • tested with windows 10 + firefox (never visited in the site before and the problem persists)

I would rule cache issues out at this point.

Here's something (I'm not sure if relevant):
the site returns 404: on [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (purify.min.js.map, line 0).

@putty182
Copy link

I managed to fix this by:

  • rm $data_dir/appdata_ocx0n5om6q2g/css/*.css to delete all stale generated css
  • redis-cli flushall to allow fresh scss compilation on the next request

@BrechtLapage
Copy link

BrechtLapage commented Nov 3, 2017

@putty182 I issued your command, (appdata folder had a slightly different name), but I get the error that the file/directory does not exist.

I tried:
rm /home/username/Documenten/data/appdata_oc2czf4x4gsl/css/*.css

Edit: Issued this command:
find /home/username/Documenten/data/appdata_oc2czf4x4gsl/css/ -type f -name "*.css" -delete

redis-cli flushall didn't work(connection refused), so I restarted redis-server, even did a reboot, still no icons.

@putty182
Copy link

@BrechtLapage, you'll need to track down why you weren't able to flush redis, since it'll still be holding onto the stale generated CSS

@Keridos
Copy link

Keridos commented Jan 5, 2018

This happened for me when I had the css styles in a different folder outside of web root.

@skjnldsv
Copy link
Member

@Keridos this should be fixed in latest master, I worked on supporting multiple installation of nextcloud with different paths. :)
Can you test it?

@juliushaertl
Copy link
Member

The webroot issue has been fixed with #7631
Rebuild during update is a different issue #7984

Lets close this.

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

No branches or pull requests