question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to access files when S3 is integrated?

See original GitHub issue

So this previously works before S3, I can access the file in client with no problem, but after I followed S3 tutorial, when I click Collection.findOne(…).link(), it says File Not Found :(.

I checked that file is uploaded to S3 and the versions.original.meta.pipePath is correct. Am I accessing it incorrectly with link() or is there anything wrong with my setup?

Thanks!

Meteor-Files: 1.9.10 Meteor: 1.6.1 OS: Mac Browser:Chrome

Debug info:

I20180419-01:56:00.295(-4)? [FilesCollection] [Upload] [DDP Start Method] Got #-1/1 chunks, dst: ***.pdf
I20180419-01:56:00.388(-4)? [FilesCollection] [Upload] [DDP] Got #1/1 chunks, dst: ***.pdf
I20180419-01:56:00.393(-4)? [FilesCollection] [Upload] [DDP] Got #-1/1 chunks, dst: ***.pdf
I20180419-01:56:00.394(-4)? [FilesCollection] [Upload] [finish(ing)Upload] -> resumes/nCQJtLq7RBX3GZHEj.pdf
I20180419-01:56:00.398(-4)? [FilesCollection] [Upload] [finish(ed)Upload] -> resumes/nCQJtLq7RBX3GZHEj.pdf
I20180419-01:56:00.428(-4)? [FilesCollection] [_preCollectionCursor.observe] [changed]: nCQJtLq7RBX3GZHEj
I20180419-01:56:00.432(-4)? [FilesCollection] [_preCollectionCursor.observe] [removed]: nCQJtLq7RBX3GZHEj
I20180419-01:56:00.637(-4)? [FilesCollection] [unlink(nCQJtLq7RBX3GZHEj, original)]
I20180419-01:56:04.202(-4)? [FilesCollection] [find({}, undefined)]
I20180419-01:56:06.938(-4)? [FilesCollection] [download(/cdn/storage/resumes/Rbosirjxbv3q9CyY9/original/Rbosirjxbv3q9CyY9.pdf, original)]
I20180419-01:56:06.939(-4)? [FilesCollection] [download(/cdn/storage/resumes/Rbosirjxbv3q9CyY9/original/Rbosirjxbv3q9CyY9.pdf)] [_404] File not found

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
vanshadycommented, Apr 20, 2018

Just donated 😉Thank you for such a great project and keep up the good work.

1reaction
dr-dimitrucommented, Apr 20, 2018

@vanshady are you ok with appearing in our supporters list?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon S3 integration - Amazon Relational Database Service
You can use Amazon S3 integration with Oracle Database features such as Oracle Data ... RDS to access only specific files or folders...
Read more >
S3 File Storage Integration | Granicus Support
You will need to arrange for S3 filestore access before using S3 integrations, and S3 integrations can only be used to upload files...
Read more >
How to access files when S3 is integrated? · Issue #603 - GitHub
Can you go to S3 and observe uploaded file, to confirm it's moved to S3? S3 requires bucket, IAM, and policy setup, described...
Read more >
Snowflake S3 integration - Towards Data Science
Access files stored in S3 as a regular table in Snowflake. Snowflake integration objects enable us to connect with external systems from ...
Read more >
Integrate Amazon S3 with Files.com
The Files.com integration to Amazon S3 allows you to Mount an Amazon S3 bucket directly into Files.com as a folder. Alternatively, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found