Skip to content

social media share previews do not pull custom favicon for preview #18435

Description

@jcklpe

Steps to reproduce

  1. copy paste a public link share to social media such as slack or facebook
  2. social media post editor will autogenerate a preview image using favicon-fb.png
  3. favicon-fb.png isn't the custom favicon associated with a themed NextCloud instance

Expected behaviour

The logo set in theming/ the favicon which is generated by the process, should appear as a preview image instead of the default nextcloud logo.

Actual behaviour

It shows the default nextcloud logo:

image

Server configuration

Operating system: Ubuntu 18.04

Web server: nginx

Database: postgresSQL

PHP version: 7.3

Nextcloud version: 17

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: I installed using this ansible script which I modified slightly: https://github.com/ReinerNippes/nextcloud

Signing status:

Signing status
No errors have been found

List of activated apps:

App list

ONLYOFFICE
3.0.2
Official
Accessibility
1.3.0
Official
Activity
2.10.1
Official
Auditing / Logging
1.7.0
Official
Brute-force settings
1.4.0
Official
Collaborative tags
1.7.0
Official
Comments
1.7.0
Official
Custom CSS
1.4.0
Deleted files
1.7.0
Official
External storage support
1.8.0
Official
Federation
1.7.0
Official
File access control
1.7.0
Official
File sharing
1.9.0
Official
Gallery
18.4.0
Official
Group folders
5.0.4
Official
Log Reader
2.2.0
Official
Mind Map
0.0.15
Monitoring
1.7.0
Official
Nextcloud announcements
1.6.0
Official
Notifications
2.5.0
Official
Password policy
1.7.0
Official
PDF viewer
1.6.0
Official
Privacy
1.1.0
Official
Recommendations
0.5.0
Official
Right click
0.15.1
Official
Share by mail
1.7.0
Official
ShareRenamer
2.7.3
Support
1.0.1
Official
Text
1.1.1
Official
Theming
1.8.0
Official
Update notification
1.7.0
Official
Versions
1.10.0
Official
Video player
1.6.0
Official
Viewer
1.2.0
Official 

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: firefox

Operating system: Windows 10

Logs

Web server error log

Web server error log

Error | PHP | rename(//mnt/work/jackalope/resume/public-resumes/debug.log,//var/nc-data/aslan/files_trashbin/files/debug.log.d1576432183):  Operation not permitted at  /var/www/nextcloud/lib/private/Files/Storage/Local.php#289 |  
-- | -- | -- | --



I think it's just that the favicon-fb.png isn't getting updated. Seems like it's probably a pretty simple issue to fix. I tried searching the favicon-fb.png in the source code and found only one place where it was mentioned. All other instance of the favicon work fine though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbuggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions