strapi-postgres-cloudinary icon indicating copy to clipboard operation
strapi-postgres-cloudinary copied to clipboard

How to update this to Strapi 4

Open jcliberto opened this issue 3 years ago • 15 comments

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

How to we update this to the latest version?

jcliberto avatar Feb 15 '22 19:02 jcliberto

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

davidmauskop avatar Feb 15 '22 19:02 davidmauskop

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!

jcliberto avatar Feb 18 '22 16:02 jcliberto

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

davidmauskop avatar Feb 18 '22 21:02 davidmauskop

@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 🤞

Tragio avatar Feb 21 '22 08:02 Tragio

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 [email protected] we can take a closer look at the Render service you created.

davidmauskop avatar Feb 22 '22 18:02 davidmauskop

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

greynguyen avatar Mar 09 '22 02:03 greynguyen

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.

crcastle avatar Mar 09 '22 18:03 crcastle

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

greynguyen avatar Mar 09 '22 18:03 greynguyen

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 avatar Mar 09 '22 18:03 jcliberto

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

jcliberto avatar Mar 10 '22 15:03 jcliberto

Any updates to this @crcastle?

greynguyen avatar Mar 14 '22 19:03 greynguyen

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

crcastle avatar Mar 14 '22 19:03 crcastle

Thanks @crcastle!

greynguyen avatar Apr 15 '22 22:04 greynguyen

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.

wilmeragsgh avatar Sep 10 '23 03:09 wilmeragsgh

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?

matheusdamiao avatar Dec 01 '23 00:12 matheusdamiao