cloudkasalu
cloudkasalu
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
the storage is now linked, thank you
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
My nixpacks.toml file [phases.build] cmds = ['npm run build', 'php artisan optimize:clear','php artisan storage:link']
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
Error: Failed to parse Nixpacks config file nixpacks.toml
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
have named the file correctly and now the app as failed to build
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
it looks like it doesnt
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
beacuse its not linking the storage
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
it looks like its totally ignoring the file when building
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
[phases.setup] nixPkgs = ['php' 'nodejs' 'composer'] [phases.install] cmds = ['composer install', 'npm install'] [phases.build] cmds = ['npm run build', 'php artisan optimize:clear'] [start] cmd = 'php artisan storage:link'
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
am finding it difficult to apply this
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
when i remove the env everything is added except the php artisan storage:link
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
it seems when i add multiple build commands i run into a build error, i tried adding "NIXPACKS_BUILD_CMD =npm run build && php artisan storage:link" just to confirm that the php artisan storage:link was the issue and the images did show, but other commands are not executed, when i added all the necessary build commands i run into an error
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
yes, the issue am now facing is with the NIXPACKS_BUILD_CMD env values
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
have found the issue to be that when building the server is not running php artisan storage:link
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
laravel file system looks like app/storage/app/public
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
in my code i use Storage::put(public/...) to store files, so do i have to mount my volume to /public ?
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
how do i set it up with laravel
49 replies
RRailway
Created by cloudkasalu on 1/25/2024 in #✋|help
Am unable to upload images with laravel app
no
49 replies