Closed wjwieland closed 6 years ago
The following element can have a z-Index property of +1 added to it to mitigate this issue. Tested via Chrome inspect functionality with positive results. <input id="contactsmenu-search" type="search" placeholder="Search contacts β¦" value="
This was intended to be in the original report above. Sorry for the oversight.
Hello there! :) Thanks for such detailed report! Could you try to clear your browser cache please? If that doesn't work, please remove your cached server css files
rm -r data/appdata_*/css/* data/appdata_*/js/*
occ files:scan-app-data
then reload the page
I tried the clearing of the browser cache which did not solve the problem. Tried it a couple of times actually and closed and restarted the browser to make certain.
Subsequently ran the two command which you referred to and that bricked the Nextcloud app. Upon reload, I got the following:
_Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log._
The log contains entries like the following:
loud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"CfmMMgMQHf6CN7GAPUDT","level":3,"time":"2018-03-28T08:38:24+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"touch(): Unable to create file \/data\/nextcloud_data\/appdata_ocdj5upde1g8\/js\/activity\/activity-sidebar.js because No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#204","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"CfmMMgMQHf6CN7GAPUDT","level":3,"time":"2018-03-28T08:38:24+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"touch(): Unable to create file \/data\/nextcloud_data\/appdata_ocdj5upde1g8\/js\/activity\/activity-sidebar.js.deps because No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#204","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"CfmMMgMQHf6CN7GAPUDT","level":3,"time":"2018-03-28T08:38:24+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"touch(): Unable to create file \/data\/nextcloud_data\/appdata_ocdj5upde1g8\/js\/activity\/activity-sidebar.js.gzip because No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#204","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"CfmMMgMQHf6CN7GAPUDT","level":3,"time":"2018-03-28T08:38:24+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"core","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(217): OC\\\\Files\\\\Node\\\\Node->getFileInfo()\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(117): OC\\\\Files\\\\Node\\\\Node->getPermissions()\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php(62): OC\\\\Files\\\\Node\\\\Node->checkPermissions(2)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(104): OC\\\\Files\\\\Node\\\\File->putContent('\\\/*\\\\n * Copyright...')\\n#4 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(194): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->putContent('\\\/*\\\\n * Copyright...')\\n#5 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(103): OC\\\\Template\\\\JSCombiner->cache('\\\/var\\\/www\\\/nextcl...', 'merged-index.js', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#6 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/var\\\/www\\\/nextcl...', 'js\\\/merged-index...', 'files')\\n#7 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(100): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/var\\\/www\\\/nextcl...', 'js\\\/merged-index...', 'files')\\n#8 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-index')\\n#9 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#10 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#11 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#12 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#13 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#14 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#15 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#16 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#17 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#18 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(998): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#19 \\\/var\\\/www\\\/nextcloud\\\/index.php(37): OC::handleRequest()\\n#20 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php\",\"Line\":97}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
{"reqId":"CfmMMgMQHf6CN7GAPUDT","level":3,"time":"2018-03-28T08:38:24+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"core","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(217): OC\\\\Files\\\\Node\\\\Node->getFileInfo()\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php(117): OC\\\\Files\\\\Node\\\\Node->getPermissions()\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php(62): OC\\\\Files\\\\Node\\\\Node->checkPermissions(2)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(104): OC\\\\Files\\\\Node\\\\File->putContent('\\\/**\\\\n * @copyrig...')\\n#4 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(194): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->putContent('\\\/**\\\\n * @copyrig...')\\n#5 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(103): OC\\\\Template\\\\JSCombiner->cache('\\\/var\\\/www\\\/nextcl...', 'activity-sideba...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#6 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/var\\\/www\\\/nextcl...', 'js\\\/activity-sid...', 'activity')\\n#7 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(100): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/var\\\/www\\\/nextcl...', 'js\\\/activity-sid...', 'activity')\\n#8 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/activity-sid...')\\n#9 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#10 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#11 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('error', '')\\n#12 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/Base.php(132): OC_Template->fetchPage()\\n#13 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(351): OC\\\\Template\\\\Base->printPage()\\n#14 \\\/var\\\/www\\\/nextcloud\\\/index.php(65): OC_Template::printExceptionErrorPage(Object(OCP\\\\Files\\\\NotFoundException))\\n#15 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/Node.php\",\"Line\":97}","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}
I will resort to my backup to recover those things that were deleted unless there is something else you can recommend.
@wjwieland the occ command must have failed. what was the output?
sudo ./occ files:scan-app-data An unhandled exception has been thrown: Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:64 Stack trace:
Did you ran it with the proper user? :)
EDIT: nope, seems because you miss the proper php module: https://github.com/nextcloud/server/issues/5958
Then how did it run prior to my running the two commands which deleted the files?
NextCloud ran fine before I ran the:
rm -r data/appdata_*/css/* data/appdata_*/js/*
`occ files:scan-app-data
I would like to understand this...
I ran occ as follows:
sudo -H -u www-data ./occ files:scan-app-data
Note: Edited to include code tags.
Ok. Got a bit panicked there.
I installed php-mysql (is this only used by occ and not the rest of the application?) then ran the occ command again, as follows:
sudo -H -u www-data ./occ files:scan-app-data
which ran a while then gave the output as follows:
`Scanning AppData for files
+---------+-------+--------------+ | Folders | Files | Elapsed time | +---------+-------+--------------+ | 459 | 897 | 00:01:03 | +---------+-------+--------------+`
After which a reload of Nextcloud seems to work fine again now.. :-)
Getting back to the original issue:
Bottom line: The original issue remains, at least on my setup. I still think the simple fix would be to add the z-Index property the element in the div I pointed out earlier. It has been a long, long time since I have done anything in PHP (I am one of those Perl people), so perhaps my assumption about the ease of my suggest fix is wrong. That possibility accepted, I did use the chrome inspect to add that property to that element temporarily and it fixed the problem for me.
Sorry for the diversion of the lacking php-mysql module. At least that is now fixed and I appreciate your pointing that out.
Thanks for the help and I hope my little observation is useful to you and the rest of the users who might use that particular functionality. If there is anything else that I can provide to inform you further, please do let me know.
Thanks again...
Okay, so we fixed an issue who was not the point of this post? :D I'll look the css again.
Okay, I can reproduce, I'll fix it later! :)
Thank much!
Fixed on server already (nc 14)
Steps to reproduce
Expected behaviour
Tell us what should happen The scrolling contacts should display behind or below the text entry field, or better yet, scroll out of view when reaching the bottom of the text entry field.
Actual behaviour
Tell us what happens instead The scrolling list imposes itself over the top of the text search entry field.
Server configuration
Operating system: Linux (Ubuntu 16.04) Web server: Apache2 Database: MySQL PHP version: 7 Nextcloud version: (see Nextcloud admin page) 13.01 Contacts version: (see Nextcloud apps page) 2.1.6 Updated from an older Nextcloud or fresh install: Updateed Signing status:
Are you using external storage, if yes which one: local/smb/sftp/... No Are you using encryption: yes/no No Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
LDAP configuration (delete this part if not used)
Insert your Nextcloud log here
Insert your browser log here, this could for example include:
a) The javascript console log b) The network log c) ...
Add a z-Index of +1 to the above element to mitigate this issue.