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

PHP errors (libpng) #8740

Closed
janipewter opened this issue Mar 9, 2018 · 5 comments
Closed

PHP errors (libpng) #8740

janipewter opened this issue Mar 9, 2018 · 5 comments

Comments

@janipewter
Copy link

Actual behaviour

Nextcloud logs show loads of these errors:

imagecreatefrompng(): gd-png: fatal libpng error: invalid block type at /var/www/nextcloud/lib/private/legacy/image.php#582

Expected behaviour

Not this error

Steps to reproduce

  1. Upload png files
  2. ???
  3. Profit

Environment data

Ubuntu 16.04 ESXi virtual machine
Nextcloud server version: 13.0

Logs

Web server error log

Nothing interesting

Nextcloud log (data/nextcloud.log)

See top of post

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@MorrisJobke
Copy link
Member

Could you provide us one of these PNGs?

@janipewter
Copy link
Author

I don't know which PNGs it is failing on. All of the PNG files in my NC server are screenshots from my Android phone and they all seem to have working thumbnails. How do I clear the log?

@MorrisJobke
Copy link
Member

How do I clear the log?

Open the file and remove the files you want to have cleared. Or remove/rename the whole file. (Default location is nextcloud.log in your data dir)

@blizzz
Copy link
Member

blizzz commented Apr 11, 2018

any update?

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@MorrisJobke
Copy link
Member

As there is no feedback since a while I will close this ticket. If this is still happening please feel free to reopen.

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

No branches or pull requests

4 participants