Server: [Updating to 18.0.5.] The document does not display versions, comments, events. (Sidebar)

Created on 4 Jun 2020  路  44Comments  路  Source: nextcloud/server

How to use GitHub

  • Please use the 馃憤 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

After updating to 18.0.5 version.

Expected behaviour

The document should display versions, comments, events.

Actual behaviour

The document does not display versions, comments, events. (sidebar)

Server configuration

Operating system: Ubuntu 18.04

*Web server:Apache 2. *

*Database:PostgreSQL 10.12*

*PHP version:PHP 7.2.24.*

18.0.5 (see Nextcloud admin page)

18.0.4

0. Needs triage bug regression

Most helpful comment

Please test #21306

Confirmed that it fixes the issue for me.

Works for me!

For those who can't wait for a patch to be released, the following did the trick for me (It's not necessary to upload the vue file):

If you have SSH access, cd to the apps/files/js/dist directory and run:
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js.map -O sidebar.js.map
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js -O sidebar.js

Alternatively overwrite the two files via FTP.

All 44 comments

I can confirm it.
18.0.5, Safari.

I also confirm with nginx-1.18.0, php-7.4.6.

Confirmed, 18.0.5, both in Firefox 77.0 and in Chromium 81.

Confirmed on 18.0.5 in Firefox 76 on Ubuntu 18.04, Server side Apache 2 and PHP 7.2.
Activity, Comments and Versions missing.

I am not sure but it looks like the information is not asked from the server (see network log in browser console). Shares are called but no activity or version data is acquired.

EDIT: yes the "filter" query is missing as it seems, for example. Dunno if more are missing. No errors in browser log though.

Confirmed...exact same issue.
Chrome 83, Apache2, php 7.3, mariadb 10.4

Confirm also
Client Chrome 83 Windows 10
Server Apache 2.4.38 php 7.4 mariadb 10.3 debian 10.4

also confirm bug. better had looked here before :-(
FF 77.0.1

I have the same behaviour. The right sidebar is not shown. The information are still available.
mark t he file -> klick on - '...' -> Detail.
now the sidebar opens.

@frazhome: yes the sidebar is shown, but the information is missing.
At least there should be the info about the folder creation in the activity log, but there is nothing. Same at versions (at files) and comments.

Example from a folder:
image

Maybe pin this issue to prevent others from upgrading and/or stop the rollout? @kesselb

Bisecting: 0 revisions left to test after this (roughly 0 steps)
[185f867bf88ea60b4e750871530e45641c9c819f] Set fileInfo correctly for LegacyTabs

cc @rullzer

18.0.5.1 same issue
RHEL 7 + Ubuntu 18.04
Browsers Safari, Chrome

My nextclod instance after 4 days updates the updates itself and I get a brick due to the fact that there is an error in the updates. How to disable automatic update in nextcloud?

Thanks!

same problem her

Confirmed on 18.0.5 in Firefox 76 on Ubuntu 18.04, Server side Apache 2 and PHP 7.2.
Activity, Comments and Versions missing.

I am not sure but it looks like the information is not asked from the server (see network log in browser console). Shares are called but no activity or version data is acquired.

same problem here! please fix this!

My nextclod instance after 4 days updates the updates itself and I get a brick due to the fact that there is an error in the updates. How to disable automatic update in nextcloud?

Thanks!

I do not know anything about an auto-update function in nextcloud server... Anyway, please stay on topic here.

The fix of #20588 is only valid with a newer version of nextcloud-vue. Either revert the fix and change the code with out reactivity (like the views) or backport the reactivity fix in nextcloud-vue and update nextcloud-vue.

The fix of #20588 is only valid with a newer version of nextcloud-vue. Either revert the fix and change the code with out reactivity (like the views) or backport the reactivity fix in nextcloud-vue and update nextcloud-vue.

@go2sh
So according to this commit https://github.com/nextcloud/nextcloud-vue/pull/799/commits/ee1826970eae76a6f8511f8e13f51a28f03e4648 it should already be in nc 18 as it uses "nextcloud-vue": "^0.13.0"?

It's maybe something else?

Please test #21306

Confirmed that it fixes the issue for me.

Please test #21306

dito, confirmed on Ubuntu 18.04.4 LTS / PHP 7.3.18-fpm / MariaDB-1:10.3.23+maria~bionic

@rullzer what's the chance of having a miner upgrade soon to roll this out fast? 18.0.5.1?

Guys, I was trying to test this but I don't have apps/files/src/components/LegacyTab.vue on my system...

Please release a hotfix update. It is a too big bug for staying with it for weeks to next 18.0.6... Thanks!

Guys, I was trying to test this but I don't have apps/files/src/components/LegacyTab.vue on my system...

Me also had to create apps/files/src/ and apps/files/src/components/ - but then it worked fine.

Guys, I was trying to test this but I don't have apps/files/src/components/LegacyTab.vue on my system...

Me also had to create apps/files/src/ and apps/files/src/components/ - but then it worked fine.

Can you detail? Currently in pilot so want to get that fixed ASAP. You created those 2 folders and added which files with which content? In #21306 I see only one line with a + what about rest?
Thanks for your help mate.

Should be enough to replace sidebar.js and sidebar.js.map. Run occ maintenance:repair to clear the cache.

Guys, I was trying to test this but I don't have apps/files/src/components/LegacyTab.vue on my system...

Me also had to create apps/files/src/ and apps/files/src/components/ - but then it worked fine.

Can you detail? Currently in pilot so want to get that fixed ASAP. You created those 2 folders and added which files with which content? In #21306 I see only one line with a + what about rest?
Thanks for your help mate.

Done

Please test #21306

Confirmed that it fixes the issue for me.

Works for me!

For those who can't wait for a patch to be released, the following did the trick for me (It's not necessary to upload the vue file):

If you have SSH access, cd to the apps/files/js/dist directory and run:
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js.map -O sidebar.js.map
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js -O sidebar.js

Alternatively overwrite the two files via FTP.

Just out of curiosity, if you make those changes manually, will the updater later choke on those files during a future update process when it tries to verify your installation?
Will people need to undo the modification before using the update?

Just out of curiosity, if you make those changes manually, will the updater later choke on those files during a future update process when it tries to verify your installation?
Will people need to undo the modification before using the update?

The updater keeps track of new files, not modified files, so you're safe for modifying.

Please test #21306

Confirmed that it fixes the issue for me.

Works for me!

For those who can't wait for a patch to be released, the following did the trick for me (It's not necessary to upload the vue file):

If you have SSH access, cd to the apps/files/js/dist directory and run:
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js.map -O sidebar.js.map
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js -O sidebar.js

Alternatively overwrite the two files via FTP.

Confirmed, working for me as well now. Thanks for guiding me through.

Please test #21306

Confirmed that it fixes the issue for me.

Works for me!

For those who can't wait for a patch to be released, the following did the trick for me (It's not necessary to upload the vue file):

If you have SSH access, cd to the apps/files/js/dist directory and run:
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js.map -O sidebar.js.map
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js -O sidebar.js

Alternatively overwrite the two files via FTP.

If I simply follow these instructions, overwriting the files in place, it somehow messes up the layout of the web interface, making it unusable.

I did do the occ maintenance:repair and checked for correct permissions. Putting the original files back from backup restores the web interface.

If I simply follow these instructions, overwriting the files in place, it somehow messes up the layout of the web interface, making it unusable.

Did you force-reload your browser for not to use it's caching? (Crtl+F5 on Firefox for example)

Please test #21306

Confirmed that it fixes the issue for me.

Works for me!

For those who can't wait for a patch to be released, the following did the trick for me (It's not necessary to upload the vue file):

If you have SSH access, cd to the apps/files/js/dist directory and run:
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js.map -O sidebar.js.map
wget https://raw.githubusercontent.com/nextcloud/server/366ee97fbd40b4c248e31c215f0b4faad7507dd1/apps/files/js/dist/sidebar.js -O sidebar.js

Alternatively overwrite the two files via FTP.

Also for me this fixes the issue, all tabs working fine.

If I simply follow these instructions, overwriting the files in place, it somehow messes up the layout of the web interface, making it unusable.

Did you force-reload your browser for not to use it's caching? (Crtl+F5 on Firefox for example)

Did a reload of Apache and now can confirm that it is fixed.

Is working for me after restarting apache2 and clearing the cache of the browser!

I install nextcloud 18.0.6.
It is working again!
thanks a lot.

Great to hear all.
Thanks for checking and reporting.

@t0mcat1337 I can confirm this works, too. Is it necessary to run maintenance:repair still? What does that change?

@t0mcat1337 I can confirm this works, too. Is it necessary to run maintenance:repair still? What does that change?

No need to run maintenance:repair. You can simply apply the upgrade with the web upgrader. It works like a charm :)

@t0mcat1337 I can confirm this works, too. Is it necessary to run maintenance:repair still? What does that change?

No need to run maintenance:repair. You can simply apply the upgrade with the web upgrader. It works like a charm :)

Oops, missed the new release. Nevermind :)

I updated to 18.06 and it seems mostly to be fixed, but I do still see the problem in one browser/OS combo (using Firefox 77.01 on Windows 10). It works fine with Chrome on the same Windows 10 and with Firefox and Chromium on Ubuntu 20.04. I've tried clearing caches/cookies/etc... And the server has been rebooted a few times since then, as has the Windows 10 machine. Am I wrong to assume a reboot of the server should clear any residual Apache/Redis etc... caches?

After updating to version 18.06 from version 18.04, I have 2-3 logs in my logs every minutes

Error | PHP | Module 'redis' already loaded at Unknown#0 | 聽

Already several times rolled back to 18.04 and everything is in order. As soon as my update script installs the new version, the problem repeats. And on the Internet I have no one to see this problem. Why in previous versions everything works well, and in the 18.06 version, the problem with the radis server begins?

An update: I guess something was messed up in my Windows 10 Firefox. I had an unfortunate sudden power loss on that machine today and after reinstalling Windows 10 (Cloud reset so my files were kept at least) and Firefox (still 77.0.1) it is working properly again.

@collex100 I recommend creating a new issue for that. Despite the beginning part of this one I think it was targeted specifically at the issue with the file details. You might want to double check that you don't have two versions of Redis installed and running. I had previously installed from their site and accidentally got another from the package manager later on when I moved to Ubuntu 20.04 and latest NextCloud. Maybe you have two installed and Nextcloud just didn't used to log the error? Sorry I just have guesses, but I really would make a new issue for it.

Was this page helpful?
0 / 5 - 0 ratings