I am deploying a web app with laravel

I am doing this in the env
11 Replies
Percy
Percy17mo ago
Project ID: a728d3c1-7052-4d96-b286-6072115573a4
Yeraldi29#2900
Yeraldi29#290017mo ago
a728d3c1-7052-4d96-b286-6072115573a4 I can go to my page to the sign in and it works
Yeraldi29#2900
Yeraldi29#290017mo ago
Yeraldi29#2900
Yeraldi29#290017mo ago
But when I log in I have this error
Yeraldi29#2900
Yeraldi29#290017mo ago
I know that this is for laravel but I think that is related with the nixpack I don't know if that accepts all of those commands
Brody
Brody17mo ago
simply store the cache in a folder within /app/storage since that folder is writeable
Yeraldi29#2900
Yeraldi29#290017mo ago
Oh Have you done that? So only do I need to put my boostrap folder there? Because in my github is empty
Brody
Brody17mo ago
im not a php dev so no, but a php dev has told me that /app/storage is writable
Yeraldi29#2900
Yeraldi29#290017mo ago
And when I run it in the terminal it puts the files Oh, thank you very much I will try
Brody
Brody17mo ago
may need a .gitkeep file to keep empty directory structures in tact
njoguamos
njoguamos17mo ago
This is a permission-related error. Add the following to your build process.
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
This can be done in nixpack.json or from your dashboard.
Want results from more Discord servers?
Add your server