I have successfully deployed Strapi v3 for the past 3 months and now i upgraded a few features in my strapi build. however when it got to the part where it was going to copy the uploaded files from the older deployed folder it failed with the error below:
From initial deploy , the feature of persistent file store was not implemented on cleavr as yet.
When it was, i tried to re-deploy however there was an error - to which i wrote about it on my other account (karlomac) - this is under my client’s account - i manage their deployment for them.
i did not get a chance to follow the instructions therein to manually move the files.
After i had a few upgrades to the client strapi configuration, i re-deployed and encountered the error.
It may have been created on my first attempt to use the new feature –
Not sure why it keeps happening for your server. The issue is that some of those files are created as root user. It could be that there are some plugins that are run as root user? Anyway, the solution here is to ssh into your server and fix the permission by running the following command:
Just a quick update – so far its not happening now – actually downgrading to node v14 seem to have solved a lot of issues in the strapi deployment – so please do consider it – im looking into using both strapi v3 and v4 under node v14 using dual vCPU and it seems to be stable –
Ive recently upgrade the builds and redeployed the a clients v4 strapi and alll went smoothly. Mind you this was after 3 rebuilds of the server. I also switched from linode to vultr – not sure if that made a difference but it seem to work better now