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

Contact search button and search text field display below scrolled list entries when list scrolled. #529

Closed
wjwieland opened this issue Mar 28, 2018 · 12 comments
Assignees
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working design Related to the design low Low priority

Comments

@wjwieland
Copy link

wjwieland commented Mar 28, 2018

Steps to reproduce

  1. Select contacts search button in top toolbar (far right. See included image)
  2. Scroll list below text entry field upward
  3. View the text entry field to see anomaly. It will be partially covered by the top entry in the scrolled list.

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:

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.
```No errors have been found.

**List of activated apps:**

```Activity	2.6.1	Official		
AppOrder	0.4.1	View in store ↗	
Auditing / Logging	1.3.0	Official		
Brute-force settings	1.0.3	View in store ↗	
Calendar	1.6.1	View in store ↗	
Collaborative tags	1.3.0	Official		
Comments	1.3.0	Official		
Contacts	2.1.3	View in store ↗	
Dashboard	4.0.6	View in store ↗	
Deleted files	1.3.0	Official		
DICOM Viewer	0.0.2	View in store ↗	
Federation	1.3.0	Official		
File sharing	1.5.0	Official		
First run wizard	2.2.1	Official		
Gallery	18.0.0	Official	
Log Reader	2.0.0	Official	
Mindmaps	0.1.0	View in store ↗	
Monitoring	1.3.0	Official	
Music	0.5.6	View in store ↗		
Nextcloud announcements	1.2.0	Official		
Notifications	2.1.2	Official		
OPDS catalog	0.8.8	View in store ↗	
Passman	2.1.4	View in store ↗	
Password policy	1.3.0	Official	
PDF viewer	1.2.1	Official	
Reader (ebook reader)	1.2.3	View in store ↗		
Share by mail	1.3.0	Official		
Tasks	0.9.6	View in store ↗	
Text editor	2.5.1	Official	
Theming	1.4.1	Official		
Update notification	1.3.0	Official	
Usage survey	1.1.0	Official	
Versions	1.6.0	Official		
Video player	1.2.0	Official	
Weather	1.5.1	View in store ↗	
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
sudo -u www-data php occ app:list
Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - apporder: 0.4.1
  - bruteforcesettings: 1.0.3
  - calendar: 1.6.1
  - comments: 1.3.0
  - contacts: 2.1.3
  - dashboard: 4.0.6
  - dav: 1.4.6
  - dicomviewer: 0.0.2
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_opds: 0.8.8
  - files_pdfviewer: 1.2.1
  - files_reader: 1.2.3
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - mindmaps: 0.1.0
  - music: 0.5.6
  - nextcloud_announcements: 1.2.0
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - passman: 2.1.4
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - tasks: 0.9.6
  - theming: 1.4.1
  - twofactor_backupcodes: 1.2.3
  - updatenotification: 1.3.0
  - weather: 1.5.1
  - workflowengine: 1.3.0
Disabled:
  - encryption
  - files_external
  - user_external
  - user_ldap




**Nextcloud configuration:**

sudo -u www-data php occ config:list system
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "wjwieland.dvrdns.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/wjwieland.dvrdns.org\/nextcloud",
        "dbtype": "mysql",
        "version": "13.0.1.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Epub",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\FB2"
        ],
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "tls",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    }
}



If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your instance's installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

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)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
sudo -u www-data php occ ldap:show-config

N/A

### Client configuration
**Browser:**
Version 65.0.3325.181 (Official Build) (64-bit)
**Operating system:**
Ubuntu 16.04, Windows 10
**CardDAV-clients:**
Android
### Logs
#### Web server error log
```No Nextcloud or contact errors present
Insert your webserver log here
``

#### Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

{"reqId":"9TaDfEpplm3au3lIbvEt","level":3,"time":"2018-01-24T05:07:02+00:00","remoteAddr":"71.55.128.191","user":"--","app":"appstoreFetcher","method":"GET","url":"\/nextcloud\/cron.php","message":"Exception: {\"Exception\":\"GuzzleHttp\\\\Exception\\\\ConnectException\",\"Message\":\"cURL error 28: Operation timed out after 9957 milliseconds with 370112 out of 872446 bytes received\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(103): GuzzleHttp\\\\Exception\\\\RequestException::wrapException(Object(GuzzleHttp\\\\Message\\\\Request), Object(GuzzleHttp\\\\Ring\\\\Exception\\\\ConnectException))\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(132): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/react\\\/promise\\\/src\\\/FulfilledPromise.php(25): GuzzleHttp\\\\RequestFsm->GuzzleHttp\\\\{closure}(Array)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/ringphp\\\/src\\\/Future\\\/CompletedFutureValue.php(55): React\\\\Promise\\\\FulfilledPromise->then(Object(Closure), NULL, NULL)\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Message\\\/FutureResponse.php(43): GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureValue->then(Object(Closure), NULL, NULL)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/RequestFsm.php(134): GuzzleHttp\\\\Message\\\\FutureResponse::proxy(Object(GuzzleHttp\\\\Ring\\\\Future\\\\CompletedFutureArray), Object(Closure))\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(165): GuzzleHttp\\\\RequestFsm->__invoke(Object(GuzzleHttp\\\\Transaction))\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Client.php(125): GuzzleHttp\\\\Client->send(Object(GuzzleHttp\\\\Message\\\\Request))\\n#8 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Http\\\/Client\\\/Client.php(138): GuzzleHttp\\\\Client->get('https:\\\/\\\/apps.ne...', Array)\\n#9 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/App\\\/AppStore\\\/Fetcher\\\/Fetcher.php(99): OC\\\\Http\\\\Client\\\\Client->get('https:\\\/\\\/apps.ne...', Array)\\n#10 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/App\\\/AppStore\\\/Fetcher\\\/AppFetcher.php(66): OC\\\\App\\\\AppStore\\\\Fetcher\\\\Fetcher->fetch('\\\"2018-01-16 21:...', '[{\\\"id\\\":\\\"spreedm...')\\n#11 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/App\\\/AppStore\\\/Fetcher\\\/Fetcher.php(162): OC\\\\App\\\\AppStore\\\\Fetcher\\\\AppFetcher->fetch('\\\"2018-01-16 21:...', '[{\\\"id\\\":\\\"spreedm...')\\n#12 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Installer.php(394): OC\\\\App\\\\AppStore\\\\Fetcher\\\\Fetcher->get()\\n#13 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/updatenotification\\\/lib\\\/Notification\\\/BackgroundJob.php(258): OC\\\\Installer::isUpdateAvailable('contacts', Object(OC\\\\App\\\\AppStore\\\\Fetcher\\\\AppFetcher))\\n#14 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/updatenotification\\\/lib\\\/Notification\\\/BackgroundJob.php(155): OCA\\\\UpdateNotification\\\\Notification\\\\BackgroundJob->isUpdateAvailable('contacts')\\n#15 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/updatenotification\\\/lib\\\/Notification\\\/BackgroundJob.php(79): OCA\\\\UpdateNotification\\\\Notification\\\\BackgroundJob->checkAppUpdates()\\n#16 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/BackgroundJob\\\/Job.php(59): OCA\\\\UpdateNotification\\\\Notification\\\\BackgroundJob->run(NULL)\\n#17 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/BackgroundJob\\\/TimedJob.php(54): OC\\\\BackgroundJob\\\\Job->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#18 \\\/var\\\/www\\\/nextcloud\\\/cron.php(147): OC\\\\BackgroundJob\\\\TimedJob->execute(Object(OC\\\\BackgroundJob\\\\JobList), Object(OC\\\\Log))\\n#19 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/guzzlehttp\\\/guzzle\\\/src\\\/Exception\\\/RequestException.php\",\"Line\":49}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/63.0.3239.132 Safari\/537.36","version":"12.0.4.3"}
{"reqId":"WrTMuHUiQmWxW7JpLP4r","level":1,"time":"2018-02-05T16:47:09+00:00","remoteAddr":"68.169.241.174","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=2QPZvLh1kAVpjLoDu%2Fzp96thYpagAXgCe7bwCzv%2FH54%3D%3A6GqU39ktqU8t79Fp1o2KnpgzBvnGTkBzFoTbe1ySLtg%3D","message":"\\OC\\Updater::checkAppStoreAppBefore: Checking for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/63.0.3239.132 Safari\/537.36","version":"12.0.4.3"}
{"reqId":"WrTMuHUiQmWxW7JpLP4r","level":1,"time":"2018-02-05T16:47:09+00:00","remoteAddr":"68.169.241.174","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=2QPZvLh1kAVpjLoDu%2Fzp96thYpagAXgCe7bwCzv%2FH54%3D%3A6GqU39ktqU8t79Fp1o2KnpgzBvnGTkBzFoTbe1ySLtg%3D","message":"\\OC\\Updater::checkAppStoreApp: Checked for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/63.0.3239.132 Safari\/537.36","version":"12.0.4.3"}
{"reqId":"VNb6mrQHTr9YY0ve9m9j","level":1,"time":"2018-02-11T19:17:38+00:00","remoteAddr":"71.55.128.228","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=hoIglh4wrOOMBKjOig%2FWmNsfc3xhXlQlT%2FnM1NIN2hY%3D%3A1ddDxFd44pLad8uN%2BU2D4I1GQU41NRVXIr6WoJ08l0A%3D","message":"\\OC\\Updater::checkAppStoreAppBefore: Checking for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/64.0.3282.140 Safari\/537.36","version":"12.0.5.3"}
{"reqId":"VNb6mrQHTr9YY0ve9m9j","level":1,"time":"2018-02-11T19:17:38+00:00","remoteAddr":"71.55.128.228","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=hoIglh4wrOOMBKjOig%2FWmNsfc3xhXlQlT%2FnM1NIN2hY%3D%3A1ddDxFd44pLad8uN%2BU2D4I1GQU41NRVXIr6WoJ08l0A%3D","message":"\\OC\\Updater::checkAppStoreApp: Checked for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/64.0.3282.140 Safari\/537.36","version":"12.0.5.3"}
{"reqId":"J37DUD9NkhSlsG42kUTS","level":1,"time":"2018-03-19T05:01:07+00:00","remoteAddr":"71.48.122.97","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=jSboJIk5aT6bRZnto%2Bd41PZjLCsXX%2F3CEtnqpVaeALU%3D%3AohesQMBWQlLPB7Kjm9ISvcYvGFNkC4v1eLvZ7WPyMNM%3D","message":"\\OC\\Updater::checkAppStoreAppBefore: Checking for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.162 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"J37DUD9NkhSlsG42kUTS","level":1,"time":"2018-03-19T05:01:07+00:00","remoteAddr":"71.48.122.97","user":"--","app":"updater","method":"GET","url":"\/nextcloud\/core\/ajax\/update.php?requesttoken=jSboJIk5aT6bRZnto%2Bd41PZjLCsXX%2F3CEtnqpVaeALU%3D%3AohesQMBWQlLPB7Kjm9ISvcYvGFNkC4v1eLvZ7WPyMNM%3D","message":"\\OC\\Updater::checkAppStoreApp: Checked for update of app \"contacts\" in appstore","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.162 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"a6h6xaj2hVxdAzJpz5om","level":3,"time":"2018-03-26T19:16:59+00:00","remoteAddr":"71.48.121.114","user":"wjw","app":"PHP","method":"POST","url":"\/nextcloud\/index.php\/contactsmenu\/contacts","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/imagick.so' - \/usr\/lib\/php\/20151012\/imagick.so: cannot open shared object file: No such file or directory at Unknown#0","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.162 Safari\/537.36","version":"13.0.1.1"}


#### Browser log

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.
nextcloud_contact_search_anomaly

@wjwieland
Copy link
Author

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.

@wjwieland wjwieland changed the title Contact search button and search text field display under scrolled entries. Contact search button and search text field display below scrolled list entries when list scrolled. Mar 28, 2018
@skjnldsv
Copy link
Member

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

@skjnldsv skjnldsv added bug Something isn't working design Related to the design needs info Not enough information provided labels Mar 28, 2018
@wjwieland
Copy link
Author

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.

@skjnldsv
Copy link
Member

@wjwieland the occ command must have failed.
what was the output?

@wjwieland
Copy link
Author

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:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): OC\DB\Connection->connect()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328): Doctrine\DBAL\Connection->detectDatabasePlatform()
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): Doctrine\DBAL\Connection->getDatabasePlatform()
#4 /var/www/nextcloud/lib/private/DB/Connection.php(151): Doctrine\DBAL\Connection->setTransactionIsolation(2)
#5 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#6 /var/www/nextcloud/lib/private/DB/ConnectionFactory.php(152): Doctrine\DBAL\DriverManager::getConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#7 /var/www/nextcloud/lib/private/Server.php(628): OC\DB\ConnectionFactory->getConnection('mysql', Array)
#8 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OCP\IDBConnecti...')
#10 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OCP\IDBConnecti...')
#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OCP\IDBConnecti...')
#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('DatabaseConnect...')
#14 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('DatabaseConnect...')
#15 /var/www/nextcloud/lib/private/Server.php(1511): OC\ServerContainer->query('DatabaseConnect...')
#16 /var/www/nextcloud/lib/private/Server.php(332): OC\Server->getDatabaseConnection()
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\Authenticati...')
#19 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#20 /var/www/nextcloud/lib/private/Server.php(336): OC\ServerContainer->query('OC\Authenticati...')
#21 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\Authenticati...')
#23 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\Authenticati...')
#25 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\Authenticati...')
#27 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\Authenticati...')
#28 /var/www/nextcloud/lib/private/Server.php(352): OC\ServerContainer->query('OC\Authenticati...')
#29 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OCP\IUserSessio...')
#31 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OCP\IUserSessio...')
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OCP\IUserSessio...')
#33 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('UserSession')
#35 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('UserSession')
#36 /var/www/nextcloud/lib/private/Server.php(1380): OC\ServerContainer->query('UserSession')
#37 /var/www/nextcloud/lib/private/Server.php(688): OC\Server->getUserSession()
#38 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
#39 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\App\AppManag...')
#40 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\App\AppManag...')
#41 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\App\AppManag...')
#42 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
#43 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('AppManager')
#44 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#45 /var/www/nextcloud/lib/private/Server.php(1684): OC\ServerContainer->query('AppManager')
#46 /var/www/nextcloud/lib/private/legacy/app.php(332): OC\Server->getAppManager()
#47 /var/www/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#48 /var/www/nextcloud/lib/base.php(661): OC_App::loadApps(Array)
#49 /var/www/nextcloud/lib/base.php(1080): OC::init()
#50 /var/www/nextcloud/console.php(46): require_once('/var/www/nextcl...')
#51 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#52 {main}wjw@bodhi-server:/var/www/nextcloud$ ls data/appdata_ocdj5upde1g8/js/

@skjnldsv
Copy link
Member

skjnldsv commented Mar 28, 2018

Did you ran it with the proper user? :)

EDIT: nope, seems because you miss the proper php module: nextcloud/server#5958

@wjwieland
Copy link
Author

wjwieland commented Mar 28, 2018

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.

@wjwieland
Copy link
Author

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:

  • cache has been cleared (did not fix display of list over text field)
  • the two commands that you suggested were run and that did not fix the issue either.

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...

@skjnldsv
Copy link
Member

Okay, so we fixed an issue who was not the point of this post? :D
I'll look the css again.

@skjnldsv
Copy link
Member

Okay, I can reproduce, I'll fix it later! :)

@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of low Low priority and removed needs info Not enough information provided labels Mar 28, 2018
@skjnldsv skjnldsv self-assigned this Mar 28, 2018
@wjwieland
Copy link
Author

Thank much!

@skjnldsv
Copy link
Member

Fixed on server already (nc 14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working design Related to the design low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants