Migrate to Laravel 5 #54
Comments
With all the Laravel 5 changes, it may be easier to do this upgrade sooner than later after the app has grown larger. Just a thought |
I think a sort of feature freeze would need to be done before migrating. So On Sunday, February 15, 2015, Jason Davis notifications@github.com wrote:
Sincerely, |
There's actually Laravel 5.1 around and I think we need to start considering upgrade while it is still can be performed |
I guess making a PR to the dev branch is the right approach to help with this topic? |
Yes, it is. But what's the rash? |
The Laravel guys don't help with issues we have / might have because the version used in Paperwork now is EOL, see laravel/framework#9755 Of course the upgrade is not the direct solution to my issue and not the most efficient way of solving it. I wanted to check how complicated it is and maybe it can be a partial work result of my way down the road. |
@JamborJan So would you be interested in doing this? |
Hi @Liongold, I have solved my problem with a work around by fixing the small bug in the old framework myself. I have some tasks on my to do list before I can start working on that. So if there is no pressure I could work on that later. |
@JamborJan That means Paperwork for Sandstorm is working now? |
@Liongold it has been working also before with the old Paperwork version. The Problem here was that no migration scripts where provided for this older version to the latest one. The occurring database errors have not been displayed properly which made debugging impossible. Now I have figured out a way to detect this and only display an export page so that users can export the data and import it in a fresh new instance. Details see: https://github.com/JamborJan/paperwork/issues/13 Now I need some more testing and optimization and then we maybe should talk about if it is possible to include the changes to run Paperwork on Sandstorm in your master branch. |
@JamborJan Did you close the HTTPS support issue in your repo then? |
Nope @Liongold because in "Sandstorm mode" it is only working with the workaround I have implemented. See: https://github.com/JamborJan/paperwork/issues/20 |
OK thanks. |
It is now a year later - is there a dev branch for migrating to Laravel 5.2? Currently, 5.3 is rc1 and I am aware of two Laravel 5 HTTP/2 middleware that would increase the speed of loading assets. With Let's Encrypt available, self hosting https (required for HTTP/2) is not even an issue. |
Take a look at my branch. It's mostly functional, but there's quite a bit missing. It's upgraded to 5.3 and I'll get it up to 5.4 shortly. I forked it from
|
Very good work on that. On the way forward, I'd ask @mrusme sine he is the owner of the project. About your other questions, LDAP authentication - I presume using an LDAP account to test it (I've never used it so don't really know), the 2 postgresql migrations set some defaults that mysql sets automatically but postgresql does not. If you need anything else, just ask. But again, about the way forward, it's better if you ask @mrusme. |
The postgres migrations errored out on MySQL, preventing the remaining migrations from running, so it seems a bit odd to have them. Maybe it's caused by Laravel defaulting to strict mode for MySQL 5.7? |
Are you sure you're running the latest version? Those files have been changed, some days ago to not run if the user is on MySQL. Can you re-check please? |
@Liongold like I said, I forked from |
Thanks @mrusme. |
@mheppner could you please solve the conflicts? Would like to merge it for people to test, but can't do that currently. |
Has anyone tried out this branch yet? Any plans to update master? |
Hey guys, what is the corrunt status here? Can it be tested? If yes let me know and I'll do so. |
@JamborJan You should be able to test it. I think it should work except for what was specified as not working in #764 itself. |
Any status updates? Help needed? I could try and contribute if needed. |
Hey guys, I was able to makes some tests. Unfortunately I cannot dig into this further right now. Maybe you can do something with my feedback. First I had issues because the folder structure slightly changed. It used to be paperwork/frontend/app/storage/config/ and now the app level is away: paperwork/frontend/storage/config/. I’m getting errors when the mysql database is initiated:
And some when the UI is fired up:
|
@JamborJan did you try clearing the caches? Try |
When building the app I always run it from scratch. So there is no cache to empty. I'll try to add the suggested lines to my setup scripts and test again. When setting up empty instances works, it will be interesting to se how it works with existing ones which need to be updated.
… Am 11.08.2017 um 15:19 schrieb Mark Heppner ***@***.***>:
@JamborJan did you try clearing the caches? Try artisian key:generate and then artisian config:cache. Check your .env file or the config/app.php file to see what length your key is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@JamborJan which PHP version are you running? |
I just noticed that the build process is still using php PHP 5.6.30. I could change that to the latest version 7 soon. Will check if this works out of the box. |
Closing in favour of https://github.com/twostairs/paperwork/tree/2 |
This isn't something that needs to be done now, nor tomorrow, nor in a month - it's more of a backlog task that needs to be done someday, when Laravel 5 became available and got mature enough to be used in production.
The text was updated successfully, but these errors were encountered: