deployer icon indicating copy to clipboard operation
deployer copied to clipboard

404 on laravel-migrate-fresh

Open kromonos opened this issue 2 years ago • 12 comments

Describe the bug

Running composer install --no-dev -o runs into problems

  [Composer\Downloader\TransportException]                                                                                    
  The "https://api.github.com/repos/REBELinBLUE/laravel-migrate-fresh" file could not be downloaded (HTTP/1.1 404 Not Found)  

Steps to reproduce

  • git clone https://github.com/REBELinBLUE/deployer.git deployer
  • git checkout 0.0.47
  • composer install -o --no-dev

Screenshots

20210930-2302 - Screenshot

Environment info

Please provide the following instead.

  • Operating System: Debian Buster
  • PHP Version: 7.2 and 7.4
  • Node Version: v12.22.6
  • Database System: MySQL
  • Database Version: Tested with 5.7 and 8

kromonos avatar Sep 30 '21 21:09 kromonos

hmm not sure what happened there, for now, I think you can remove https://github.com/REBELinBLUE/deployer/blob/0.0.47/composer.json#L76 and change https://github.com/REBELinBLUE/deployer/blob/0.0.47/composer.json#L70 to 1.5.4 but it is a dev dependency so that shouldn't be needed, will look at fixing it properly at the weekend

REBELinBLUE avatar Sep 30 '21 21:09 REBELinBLUE

Now I run into a new problem 20210930-2327 - Screenshot

kromonos avatar Sep 30 '21 21:09 kromonos

That might happen if the npm install took more than 10 minutes... try running touch vendor/autoload.php

REBELinBLUE avatar Sep 30 '21 21:09 REBELinBLUE

npm install was done in some seconds 🤔

kromonos avatar Sep 30 '21 21:09 kromonos

But that did it and ran into a next problem 😆 20210930-2339 - Screenshot

kromonos avatar Sep 30 '21 21:09 kromonos

Looks like this may be an issue with older version of laravel on new versions of MySQL https://stackoverflow.com/questions/50068663/laravel-5-5-with-mysql-8-0-11-sql-mode-cant-be-set-to-the-value-of-no-auto

https://github.com/laravel/framework/pull/24038 you can try updating laravel from 5.4 to 5.5 but I am sure if it will work so smoothly.

I am only on my phone right now but I'll take a look at the weekend at tagging a new release updated to 5.5 and with the other fix

REBELinBLUE avatar Sep 30 '21 21:09 REBELinBLUE

sigh ... Damn Laravel … I have to remove at least half of the packages in composer.json to satisfy composer 🙄

20211001-0013 - Screenshot

kromonos avatar Sep 30 '21 22:09 kromonos

Uh jeez yeah... honestly I'd wait 48 hours and I will try and sort it tomorrow evening / Saturday morning.

REBELinBLUE avatar Sep 30 '21 22:09 REBELinBLUE

Getting there... slowly, yeap dependency hell. Hopefully before the end of the day

REBELinBLUE avatar Oct 02 '21 19:10 REBELinBLUE

You don't need to stress. I have a second server with an older MySQL version I moved to so that it's still working. 🤭

kromonos avatar Oct 02 '21 19:10 kromonos

Cool, I'll do it anyway as I didn't know the current release was no longer installable

REBELinBLUE avatar Oct 02 '21 19:10 REBELinBLUE

The master branch should now work with MySQL 8 and PHP 7.4, haven't tagged a new release release yet as I want to continue working on it get PHP 8 and Composer 2 working properly

REBELinBLUE avatar Oct 03 '21 20:10 REBELinBLUE