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

[Bug]: photo show blank #1797

Closed
6 of 9 tasks
jjasoncool opened this issue May 14, 2023 · 2 comments
Closed
6 of 9 tasks

[Bug]: photo show blank #1797

jjasoncool opened this issue May 14, 2023 · 2 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@jjasoncool
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

[ERROR] photos: Error fetching files
Object { level: 0, app: "photos", uid: "admin", error: SyntaxError }
ConsoleLogger.js:46:10
value ConsoleLogger.js:46
value ConsoleLogger.js:72
r FetchFilesMixin.js:113
l FetchFilesMixin.js:2
x FetchFilesMixin.js:2
b FetchFilesMixin.js:2
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
N FetchFilesMixin.js:2
N FetchFilesMixin.js:2
fetchFiles FetchFilesMixin.js:60
getContent Timeline.vue:237
VueJS 4
needContent FilesListViewer.vue:244
VueJS 4
isNearBottom VirtualScrolling.vue:231
VueJS 12
resizeObserver VirtualScrolling.vue:260
(Async: ResizeObserverCallback)
mounted VirtualScrolling.vue:257
VueJS 18
init vue-router.esm.js:2980
init vue-router.esm.js:2978
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
updateFiles files.js:2
updateFiles files.js:2
A vuex.esm.js:831
commit vuex.esm.js:437
commit vuex.esm.js:37
_withCommit vuex.esm.js:601
commit vuex.esm.js:36
commit vuex.esm.js:394
appendFiles files.js:142
A vuex.esm.js:736
dispatch vuex.esm.js:490
dispatch vuex.esm.js:393
r FetchFilesMixin.js:98
l FetchFilesMixin.js:2
x FetchFilesMixin.js:2
b FetchFilesMixin.js:2
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
promise callbackk FetchFilesMixin.js:2
a FetchFilesMixin.js:2
promise callback
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
promise callback*k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
N FetchFilesMixin.js:2
N FetchFilesMixin.js:2
fetchFiles FetchFilesMixin.js:60
getContent Timeline.vue:237
VueJS 4
needContent FilesListViewer.vue:244
VueJS 4
isNearBottom VirtualScrolling.vue:231
VueJS 12
resizeObserver VirtualScrolling.vue:260
mounted VirtualScrolling.vue:257
VueJS 18
init vue-router.esm.js:2980
init vue-router.esm.js:2978
FetchFilesMixin.js:114:12
r FetchFilesMixin.js:114
l FetchFilesMixin.js:2
x FetchFilesMixin.js:2
b FetchFilesMixin.js:2
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
(Async: promise callback)
k FetchFilesMixin.js:2
a FetchFilesMixin.js:2
N FetchFilesMixin.js:2
N FetchFilesMixin.js:2
fetchFiles FetchFilesMixin.js:60
getContent Timeline.vue:237
VueJS 4
needContent FilesListViewer.vue:244
VueJS 4
isNearBottom VirtualScrolling.vue:231
VueJS 12
resizeObserver VirtualScrolling.vue:260
(Async: ResizeObserverCallback)
mounted VirtualScrolling.vue:257
VueJS 18
init vue-router.esm.js:2980
init vue-router.esm.js:2978

Steps to reproduce

  1. just open photo tab. that's it.
    圖片

but video is fine, just photo is blank.

Expected behavior

show photo in view.

Installation method

Community Docker image

Nextcloud Server version

26

Operating system

RHEL/CentOS

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "domain.com",
            "onlyoffice",
            "nginx-server",
            "drawio",
            "192.168.1.200"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "26.0.1.1",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/domain.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "loglevel": 0,
        "allow_local_remote_servers": "true",
        "onlyoffice": {
            "DocumentServerUrl": "\/ds-vpath\/",
            "DocumentServerInternalUrl": "http:\/\/onlyoffice\/",
            "StorageUrl": "http:\/\/nginx-server\/"
        },
        "theme": "",
        "app_install_overwrite": [
            "music"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.18.0
  - bruteforcesettings: 2.6.0
  - calendar: 4.3.3
  - circles: 26.0.0
  - cloud_federation_api: 1.9.0
  - comments: 1.16.0
  - contacts: 5.2.0
  - contactsinteraction: 1.7.0
  - dashboard: 7.6.0
  - dav: 1.25.0
  - deck: 1.9.2
  - federatedfilesharing: 1.16.0
  - federation: 1.16.0
  - files: 1.21.1
  - files_pdfviewer: 2.7.0
  - files_rightclick: 1.5.0
  - files_sharing: 1.18.0
  - files_trashbin: 1.16.0
  - files_versions: 1.19.1
  - firstrunwizard: 2.15.0
  - forms: 3.2.0
  - logreader: 2.11.0
  - lookup_server_connector: 1.14.0
  - mail: 3.1.1
  - music: 1.8.3
  - nextcloud_announcements: 1.15.0
  - notifications: 2.14.0
  - oauth2: 1.14.0
  - onlyoffice: 7.8.0
  - password_policy: 1.16.0
  - photos: 2.2.0
  - privacy: 1.10.0
  - provisioning_api: 1.16.0
  - recommendations: 1.5.0
  - related_resources: 1.1.0-alpha1
  - serverinfo: 1.16.0
  - settings: 1.8.0
  - sharebymail: 1.16.0
  - spreed: 16.0.3
  - support: 1.9.0
  - survey_client: 1.14.0
  - suspicious_login: 4.4.0
  - systemtags: 1.16.0
  - tasks: 0.14.5
  - text: 3.7.2
  - theming: 2.1.1
  - twofactor_backupcodes: 1.15.0
  - twofactor_totp: 8.0.0-alpha.0
  - updatenotification: 1.16.0
  - user_status: 1.6.0
  - viewer: 1.10.0
  - weather_status: 1.6.0
  - workflowengine: 2.8.0
Disabled:
  - admin_audit: 1.16.0
  - encryption: 2.14.0
  - files_external: 1.18.0
  - user_ldap: 1.16.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

@jjasoncool jjasoncool added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels May 14, 2023
@szaimen szaimen transferred this issue from nextcloud/server May 14, 2023
@jjasoncool jjasoncool changed the title [Bug]: [Bug]: photo show blank May 14, 2023
@jjasoncool
Copy link
Author

jjasoncool commented May 15, 2023

additional log:

Uncaught (in promise) TypeError: o.getLanguage is not a function
    value NcRelatedResourcesPanel.js:2
    932 CancelToken.js:31
    VueJS 4
    Webpack 6

[ERROR] photos: Error fetching files 
Object { level: 0, app: "photos", uid: "forwork", error: SyntaxError }
​app: "photos"
​error: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
​level: 0
​uid: "forwork"
​<prototype>: Object { … }

@jjasoncool
Copy link
Author

#1753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant