board
board copied to clipboard
Broken attachments on boards imported from Trello
Restyaboard 1.7, Ubuntu, php 7.4.23, all OS packages updated - installed from Digital Ocean image.
The attachments on boards imported from Trello aren't successfully downloaded. All files created on /usr/share/nginx/html/restyaboard/client/img/original/CardAttachment/ contain the following: 'unauthorized permission requested'.
These files would be downloaded from https://trello.com/1/cards/... . My understanding, based on the usage of Trello-Backup is that Trello is requiring the following headers to allow downloads:
Authorization: OAuth oauth_consumer_key="$key", oauth_token="$application_token"
Once those are sent in the request, the files are downloaded.
I believe the function that needs to be modified is curlExecute() on /usr/share/nginx/html/restyaboard/server/php/libs/core.php, but I don't know enough Restyaboard to properly do it.
Trello also stores files on AWS S3, but I didn't have a chance to test a board with those yet.
I can open a feature request, but it'd be great to have an import log so to know if something went wrong and what wasn't imported properly.
@AndreC10002 We have noted that the public boards can be imported without any issue. For private boards, we may need to check your fix and work on that. Till then, as a quick solution, you may make the board public, export it and import it within Restyaboard
I can confirm the workaround of momentarily setting a board to public, importing, and then reverting it back to private.
@laryn Thanks for the confirmation of the workaround and we are checking about the fix and will update