render-examples / strapi-postgres-cloudinary

Deploy Strapi with PostgreSQL and Cloudinary on Render.
https://render.com/docs/deploy-strapi
MIT License
41 stars 165 forks source link

How to update this to Strapi 4 #15

Open jcliberto opened 2 years ago

jcliberto commented 2 years ago

Hello, We've deployed this successfully in Render but it's very outdated.

How to we update this to the latest version?

davidmauskop commented 2 years ago

Hi @jcliberto. We're planning to update this repo to Strapi 4 this week. Thanks for your patience, and stay tuned!

jcliberto commented 2 years ago

Hi @davidmauskop Happy to share our repository: https://github.com/liberto-dev/strapi-next

This is a new service with Strapi 4 (using the blog starter template) that we've deployed to Render.

We installed postgres, cloudinary and copied over your env/production and yaml files, per the Render instructions.

When we deployed this, the pg database set up fine but the blueprint/web service cannot sync - it's been syncing for a while now.

Really appreciate your help with this!

davidmauskop commented 2 years ago

Thanks @jcliberto! If you send an email to support@render.com with more details on the failed sync, we'll be happy to take a closer look for you.

Tragio commented 2 years ago

@davidmauskop I'm considering Render instead of Heroku and I'm using the /env/production folder and render.yaml as the base for my project. I'm also using the latest Node 14 otherwise it crashes. There are some plugins requiring >=14.

However, I have 2 problems. The first one is that I create the admin account and then if I reload it comes again to the admin creation page. For some reason, seems that it's not saving, but I see that the Postgres DB has content 🤔

Second, one of the reasons for me to leave Heroku is that I'm uploading to S3, and when some media is large or the upload speed is slow, I have a timeout on Heroku. https://devcenter.heroku.com/articles/request-timeout#uploading-large-files I'm not sure if something similar happens with Render 🤞

davidmauskop commented 2 years ago

Hi @Tragio! Thanks for considering Render.

There shouldn't be any issue uploading large files to S3.

That's weird about the admin account not saving. If you send an email to support@render.com we can take a closer look at the Render service you created.

greynguyen commented 2 years ago

@davidmauskop Any updates on when this repo will be updated to v4?

crcastle commented 2 years ago

Hi @greynguyen- I'll be the one updating this! My plan was to get to this before StrapiConf starts, which is next week on March 16 and 17, but I believe I'll have time to do it this week. I'll let you know in this issue when it's done.

greynguyen commented 2 years ago

@crcastle Thanks! Would really appreciate it if you can get this done this week 🙏

jcliberto commented 2 years ago

Hi @crcastle We'd greatly appreciate it too! We struggled with it for a while with a ton of help from Jade and we were able to to deploy. There are still some issues so it would be great to redeploy this more cleanly.

jcliberto commented 2 years ago

Hi @crcastle We followed this repo model for Strapi V4. Our local has SQLite and our Render.com production db is Postgres. Whenever we push a change from our local, it wipes out all of the production content entered. Hope the update will cover this. Many thanks

greynguyen commented 2 years ago

Any updates to this @crcastle?

crcastle commented 2 years ago

@greynguyen I'm working on the PR here. Would you be able to test it out?

greynguyen commented 2 years ago

Thanks @crcastle!

wilmeragsgh commented 1 year ago

I know this was addressed by this PR , but I recently created a PR to update to latest and a few other required changes part of the update.

matheusdamiao commented 9 months ago

Any updates on this new update? @wilmeragsgh

I've tried to upload the logos in Strapi admin with this template but it doesn't work as it does in a more recent version (I have another repo with the latest Strapi version and the same edition works smoothly there) Anyone can tell me if there's really something to do with the version or is it related to something else?