Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

theUnforgiven's avatar

Storage folder upon deploy

Everytime i deploy new code to forge my storage folder seems to get locked and i am forever ssh'ing into the server to remove this lock.

Firstly anyone know why this is? Secondly how can i prevent this happening continuously?

0 likes
2 replies
RayC's avatar

I'm not sure why this happens and I am new to forge but maybe have the command you issue to unlock it run in the Deploy script?

Under Sites->yoursite then under Deploy Script maybe add the code you want run after whats there and save it.

Haven't tried it but in theory I think it would work.

Please or to participate in this conversation.