1.2.4 > 1.6.0へのバージョンアップ
2023年4月6日 18時56分 [M.OHA]いつもお世話になっております。
1.2.4から1.6.0へのバージョンアップがうまくいかず、
お知恵を拝借したい次第です。
以下操作ログです。
# git pull && git checkout $(git describe --tags --abbrev=0)
remote: Enumerating objects: 2645, done.
remote: Counting objects: 100% (2436/2436), done.
remote: Compressing objects: 100% (688/688), done.
remote: Total 2645 (delta 1850), reused 2253 (delta 1724), pack-reused 209
Receiving objects: 100% (2645/2645), 1.25 MiB | 15.24 MiB/s, done.
Resolving deltas: 100% (1915/1915), completed with 103 local objects.
From https://github.com/opensource-workshop/connect-cms
* [new branch] 2.0.1 -> origin/2.0.1
* [new branch] 2.2.0 -> origin/2.2.0
* [new branch] 2.x -> origin/2.x
69594c9d..b2bfb5fb Test&Manual -> origin/Test&Manual
* [new branch] add_extention_user_mail_sendflag -> origin/add_extention_user_mail_sendflag
* [new branch] add_thumbnail_image_to_upload_file_list -> origin/add_thumbnail_image_to_upload_file_list
* [new branch] bugfix-1556 -> origin/bugfix-1556
* [new branch] bugfix-frame-status -> origin/bugfix-frame-status
* [new branch] bugfix-tabs-areadata -> origin/bugfix-tabs-areadata
* [new branch] database_checkbox_search -> origin/database_checkbox_search
* [new branch] databases-file-download -> origin/databases-file-download
* [new branch] databases_force_show_column -> origin/databases_force_show_column
* [new branch] fix-databases-browser-back -> origin/fix-databases-browser-back
* [new branch] fix-databases-gotolist -> origin/fix-databases-gotolist
* [new branch] fix-search_multi -> origin/fix-search_multi
* [new branch] fix-sitedocument -> origin/fix-sitedocument
* [new branch] fix_sitedocument_segment_name -> origin/fix_sitedocument_segment_name
* [new branch] guzzle-2.x -> origin/guzzle-2.x
* [new branch] laravel9.0 -> origin/laravel9.0
2f116f2a..2e51ae2a master -> origin/master
* [new branch] navbar-overflow -> origin/navbar-overflow
* [new branch] option_base -> origin/option_base
* [new branch] user_affiliations -> origin/user_affiliations
* [new tag] v1.6.1 -> v1.6.1
* [new tag] v2.2.1 -> v2.2.1
(中略)
* [new tag] v2.1.3 -> v2.1.3
* [new tag] v2.2.0 -> v2.2.0
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull
# php -d allow_url_fopen=1 composer.phar install --no-dev
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: kalnoy/nestedset
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: nesbot/carbon
Package manifest generated successfully.
54 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
# php artisan config:clear
Configuration cache cleared!
# php artisan migrate
Nothing to migrate. <-******************この部分が…
# php artisan db:seed
Seeding: Database\Seeders\DefaultPagesTableSeeder
Seeded: Database\Seeders\DefaultPagesTableSeeder (5.09ms)
Seeding: Database\Seeders\DefaultUsersTableSeeder
Seeded: Database\Seeders\DefaultUsersTableSeeder (0.43ms)
Seeding: Database\Seeders\DefaultUsersRolesTableSeeder
Seeded: Database\Seeders\DefaultUsersRolesTableSeeder (0.36ms)
Seeding: Database\Seeders\DefaultConfigsTableSeeder
Seeded: Database\Seeders\DefaultConfigsTableSeeder (8.24ms)
Seeding: Database\Seeders\DefaultPluginsTableSeeder
Seeded: Database\Seeders\DefaultPluginsTableSeeder (0.31ms)
Seeding: Database\Seeders\DefaultReservationsTableSeeder
Seeded: Database\Seeders\DefaultReservationsTableSeeder (2.15ms)
Database seeding completed successfully.
# chown -R apache:apache storage
# chown -R apache:apache bootstrap/cache
# chown -R apache:apache public
# chmod -R u+wr storage
# chmod -R u+wr bootstrap/cache
# chmod -R u+wr public
# php artisan command:version
1.2.4
という感じで、うまくいっておりません。。
この部分が…、というところがおかしいと思っています。
Version指定をきちんと明示しても同様の結果でした。
ずいぶんと汚してしまいましたが、ご教授いただけると幸いです。