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:
and I several times got an error running the project with
Any idea to run a right update process?
Thanks.
13 Replies
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
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 updateJust be aware, that this will lock you to that version until you require the next one.
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?
Is it possible make a clean installation and to migrate all resources what I worked?
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
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.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.
Looks like your
artisan serve
command crashed.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
Not sure what's happening. Any error from Apache or Serve?
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.
So, not a filament issue. Even the free version of herd would solve your issues locally.
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.
Important thing to keep in mind is that your local machine is still just server. That’s all a server is. Just another computer.