How to upgrading filament to minor versions

I saw a tweet from our friend Dan, they released filament 3.2.115 fixing some bugs. Currently I have a project with 3.2.110 and I run:
composer require filament/upgrade:"^3.2" -W
composer require filament/upgrade:"^3.2" -W
and I several times got an error running the project with
php artisan serve
php artisan serve
Any idea to run a right update process? Thanks.
No description
13 Replies
Vp
Vp2mo ago
Now the latest is 3.2.123 if you want to update on latest then just run composer update filament/filament If you want to update on specific version eg: 3.2.115 then update your composer.json like "filament/filament": "3.2.115" then run composer update
Dennis Koch
Dennis Koch2mo ago
If you want to update on specific version eg: 3.2.115 then update your composer.json like "filament/filament": "3.2.115" then run composer update
Just be aware, that this will lock you to that version until you require the next one.
ingeday
ingedayOP2mo ago
Do I have to do any additional step? I think I broke my project.
Is it possible make a clean installation and to migrate all resources what I worked?
Dennis Koch
Dennis Koch2mo ago
I think I broke my project.
Why do you think so? What did you do? Where are you stuck?
Is it possible make a clean installation and to migrate all resources what I worked?
It would be installing the project and moving files
ingeday
ingedayOP2mo ago
Hello. I have done that right now. I installed a clean project Laravel, then installed filament and the panels just following this link https://filamentphp.com/docs/3.x/panels/installation Later, I copied theese files: migrations/..., seeds/... and factories/.. and run php artisan migrate --seed and the project worked. Later I copied a resources (User Resources) - UserResource.php - UserResource/CreateUser.php - UserResource/EditUser.php - UserResource/ListUsers.php And I have something like the video I've attached.
ingeday
ingedayOP2mo ago
I am here again... I've been working on it all day. I realized that the code of the project works correctly when it's hosted, but it doesn't work on my computer, neither when using php artisan serve nor Apache. For now, my conclusion is that something on my system is affecting my project with Filament. It might be Composer, Node, or the PHP module or something else. The only thing I did yesterday was set up a self-hosted action runner on GitHub to work with the project. Everything is a little strange, but for now, I've discarded the idea that it was due to the updating process. Thanks a lot.
Dennis Koch
Dennis Koch2mo ago
Looks like your artisan serve command crashed.
ingeday
ingedayOP2mo ago
Sure, but artisan serve is available within each Laravel project. No? And my apache got crashed too. running the project under apache It does not run artisan serve
Dennis Koch
Dennis Koch2mo ago
Not sure what's happening. Any error from Apache or Serve?
ingeday
ingedayOP2mo ago
Sometimes, there are errors when calling any PHP function. It's crazy. But, Because of I could run the project correctly in a host, so I am installing a vagrant environment right now Because it's bothersome to restart php artisan serve for every request during development.
awcodes
awcodes2mo ago
So, not a filament issue. Even the free version of herd would solve your issues locally.
ingeday
ingedayOP2mo ago
I've set up the Vagrant environment, and it worked. I haven't heard of Herd. This weekend, I'll be checking out Herd. Thanks a lot.
awcodes
awcodes2mo ago
Important thing to keep in mind is that your local machine is still just server. That’s all a server is. Just another computer.
Want results from more Discord servers?
Add your server