Solved here: https://community.n8n.io/t/upload-a-local-file-to-an-s3bucket-via-a-form/96480/13
gDrive example
stevespaw
Posts
-
Upload a local file to an s3Bucket via a form -
Upload a local file to an s3Bucket via a formI thought I might ask this here:
OK, I thought this would be very simple. But - it is elusive.
I want a simple form to select a local file and upload it to an s3 bucket.
I have the bucket setup - but I cannot figure out how to connect it to the local file path.
When you use the form for selecting a file, it seems to upload it to the n8n instance. Not what I want, but even then how would I use that to send to s3. (This is a bad intermediate step anyway. Is the file a temp? or do I have to delete it from the n8n instance? )What I really want is a simple upload directly to s3. (the file selector in the form is perfect, but I want it to go directly to s3.)
Is this possible? Is there a sample template?
I want to do the same with Google drive BTW.
Please help, Thanks -
Crashing Postgres??This worked! Thank you
-
Chatwoot 1.36.1 Upgrade Issue8.3.1 seems to have fixed this issue! Thanks team Cloudron!
-
Chatwoot 1.36.1 Upgrade Issue@mazarian said in Chatwoot 1.36.1 Upgrade Issue:
Just wanted to add - it seems like I am having to restore from backup for many of my apps. All of the restores are working except for Chatwoot. It seems like something went wrong after the upgrade to Cloudron 8.3.
Same issue here!
-
Crashing Postgres??Chatwoot crashed the other day I restarted it, it came back up, but we have complaints of it not working right so I decided to just restore a backup.
No It will not START - big problem.
Addons Error: Unexpected response code or HTTP error when piping /home/yellowtent/appsdata/5ee58e56-bf38-49ba-a723-2085e090865d/postgresqldump to http://172.18.30.2:3000/databases/db5ee58e56bf3849baa7232085e090865d/restore?access_token=4e6cadcf7cbfecce79219744da70564d92b58b0db02967e91c6797ea4be839fa7dfeb2294b1d22c72c638dd95cabb07f0a9dd8e83e1dfb543e464329a115dbfd949fdbcc8736ca3cf04416dbb78935fe52d94a373b158722ead32c0c069dd6f41cf9360685d1fc7d14e44d17d1bf0fdfa274c0808c97860ca777a9d0d176c6c2&username=user5ee58e56bf3849baa7232085e090865d: status 500 complete false
-
Move backup location of mysqldump to volumeWe decided to move this is a box with much more storage. I have done the backup and restore many times, no issue. But I have had this "mnt" with link working for some time now. BUT I did the backup and restore and realized that the external mount to another drive broke the Matomo restore. What do I do to get this back?
-
Move backup location of mysqldump to volumeComing back to this issues as I am getting errors on backups:
Feb 08 23:00:52 box:backuptask fullBackup: app automate.bb-content.media backup finished. Took 30.926 seconds
Feb 08 23:00:52 box:locks write: current locks: {"backup_task":null}
Feb 08 23:00:52 box:locks release: app_a1372b32-5ec8-4fb7-99cb-9e687c05eac5
Feb 08 23:00:52 box:tasks update 1745: {"percent":43.85714285714286,"message":"Backing up matomo.bb-content.media (3/4). Waiting for lock"}
Feb 08 23:00:52 box:locks write: current locks: {"backup_task":null,"app_a1fea9d3-2af1-4336-ba20-148ae80f1f4f":"1745"}
Feb 08 23:00:52 box:locks acquire: app_a1fea9d3-2af1-4336-ba20-148ae80f1f4f
Feb 08 23:00:52 box:tasks update 1745: {"percent":43.85714285714286,"message":"Snapshotting app matomo.bb-content.media"}
Feb 08 23:00:52 box:backuptask fullBackup: app matomo.bb-content.media backup finished. Took 0.004 seconds
Feb 08 23:00:52 box:locks write: current locks: {"backup_task":null}
Feb 08 23:00:52 box:locks release: app_a1fea9d3-2af1-4336-ba20-148ae80f1f4f
Feb 08 23:00:52 box:taskworker Task took 51.786 seconds
Feb 08 23:00:52 box:tasks setCompleted - 1745: {"result":null,"error":{"stack":"BoxError: Error creating config.json: EACCES: permission denied, open '/home/yellowtent/appsdata/a1fea9d3-2af1-4336-ba20-148ae80f1f4f/config.json'\n at Object.writeConfig (/home/yellowtent/box/src/apps.js:3089:15)\n at snapshotApp (/home/yellowtent/box/src/backuptask.js:339:16)\n at uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:350:11)\n at backupAppWithTag (/home/yellowtent/box/src/backuptask.js:391:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","name":"BoxError","reason":"FileSystem Error","details":{},"message":"Error creating config.json: EACCES: permission denied, open '/home/yellowtent/appsdata/a1fea9d3-2af1-4336-ba20-148ae80f1f4f/config.json'"}}
Feb 08 23:00:52 box:tasks update 1745: {"percent":100,"result":null,"error":{"stack":"BoxError: Error creating config.json: EACCES: permission denied, open '/home/yellowtent/appsdata/a1fea9d3-2af1-4336-ba20-148ae80f1f4f/config.json'\n at Object.writeConfig (/home/yellowtent/box/src/apps.js:3089:15)\n at snapshotApp (/home/yellowtent/box/src/backuptask.js:339:16)\n at uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:350:11)\n at backupAppWithTag (/home/yellowtent/box/src/backuptask.js:391:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","name":"BoxError","reason":"FileSystem Error","details":{},"message":"Error creating config.json: EACCES: permission denied, open '/home/yellowtent/appsdata/a1fea9d3-2af1-4336-ba20-148ae80f1f4f/config.json'"}}
Feb 08 23:00:52 BoxError: Error creating config.json: EACCES: permission denied, open '/home/yellowtent/appsdata/a1fea9d3-2af1-4336-ba20-148ae80f1f4f/config.json'
Feb 08 23:00:52 at Object.writeConfig (/home/yellowtent/box/src/apps.js:3089:15)
Feb 08 23:00:52 at snapshotApp (/home/yellowtent/box/src/backuptask.js:339:16)
Feb 08 23:00:52 at uploadAppSnapshot (/home/yellowtent/box/src/backuptask.js:350:11)
Feb 08 23:00:52 at backupAppWithTag (/home/yellowtent/box/src/backuptask.js:391:11)
Feb 08 23:00:52 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) -
Rust Deskhttps://rustdesk.com/blog/2024/10/rustdesk-web-client-v2-preview/
The last part I have not spent time on is the ws setting to allow this to connect in a web browser:
This would be really great! (some nginx stuff)
-
NetBird - WireGuard based VPNComing from Zerotier _ I any really digging Netbird - Super easy setup and now have "networks" which we had on Zerotier. Running on their host now, but would love to have our own server on Cloudron. This is much more powerful than the basic wireguard in the VPN app. Please?
-
Rust DeskOK I have installed this on a separate server - it was super easy with Docker. I did not do the "pro" version, just the OSS. The only "downside" is that you have to send a text file with ServerID (IP address) and Key (which you can get from the docker log easily). The performance is awesome - if this was Cloudron it would be amazing. Please !
-
Question: Moving apps to volumeI have successfully moved larger apps to an additional volume (Mountpoint) according to the documentation. My question is about backup and restore. (Awesome Cloudron feature) How does this affect backup? All apps backed up as normal?
And if I restore - I assume that the same mount points need to be in place -, but will the restore work normally then?
Thanks -
Move backup location of mysqldump to volumeOK just to recap - This seems to be working on my test system. This is after I followed the steps for my VPS to add a disk and the Cloudron instructions to add a disk and a volume. I did this as root. I used the "disk" in place of "volume".
Stop the app
mv /home/yellowtent/appsdata/dfaa72b8-8c42-433e-a001-c9d58563379b /mnt/disk/matomo/ ln -s /mnt/disk/matomo/dfaa72b8-8c42-433e-a001-c9d58563379b /home/yellowtent/appsdata/dfaa72b8-8c42-433e-a001-c9d58563379b chown -R yellowtent /mnt/disk/matomo/
Start the app
This would be nice to automatically happen with a Cloudron tool.
I will post back and edit if I find any issues when doing this on the production.
Thanks for all of the help. -
Move backup location of mysqldump to volumeOK now I will show my lack of linux. I did this all as root. What do I do now? How do I fix this permission issue? Thanks.
-
Move backup location of mysqldump to volumeOK I have done the above, But get an error when doing a backup.
-
Move backup location of mysqldump to volumeProblem:
I have a very large msqldump file (matomo) that is getting created when a backup is done. This is crashing my system eventually (disk full)
I have added an external disk to the instance and followed the very fine instructions to move the appdata location. This worked perfectly with no issues!BUT the original yellowtent folder still contains a config.json file AND the large mysqldump. I just ran a full backup manually and it updated the file in the original location!
How do I redirect the location of this backup creation?
I need to figure this out soon.
Thanks a lot. -
Certs won't renew - HELPYes it is possible to migrate to another Cloudron, but what's to say that the SSL will work on a different cloudron to the same domain that is having issues?
-
Certs won't renew - HELPOuch this is bad news. We have custom apps that directly work with API's in these cloudron apps.
-
Certs won't renew - HELPyes.. I tried that 2 days ago when this started happening.
-
Certs won't renew - HELPYes we have all of our Cloudrons DNS automated - We have quite a few paid instances. This one instance is failing the automated renewal. That is the issue.