お世話になります。
本日1.6.1から1.7.1にアップデート後に新着モジュールが500エラーで表示されなくなりました。
1.6.1の時点でキャビネットにファイル追加。
キャビネット等の登録を確認してからアップデートしました。
作業自体で抜けている部分がありますでしょうか?
[connect-cms]$ git pull
remote: Enumerating objects: 669, done.
remote: Counting objects: 100% (669/669), done.
remote: Compressing objects: 100% (267/267), done.
remote: Total 669 (delta 458), reused 594 (delta 400), pack-reused 0
Receiving objects: 100% (669/669), 919.17 KiB | 0 bytes/s, done.
Resolving deltas: 100% (458/458), completed with 17 local objects.
From https://github.com/opensource-workshop/connect-cms
e489209..73b51d1 master -> origin/master
1a879d7..fc0c2fe 2.x -> origin/2.x
* [new branch] OW-1869 -> origin/OW-1869
* [new branch] OW-1870 -> origin/OW-1870
* [new branch] add-linklists-tabselect -> origin/add-linklists-tabselect
* [new branch] add-searchs-posted_bottom -> origin/add-searchs-posted_bottom
* [new branch] add_new_feature_html_2_cms_migration -> origin/add_new_feature_html_2_cms_migration
0426b86..a6e8796 bugfix-frame-status -> origin/bugfix-frame-status
* [new branch] databases-category -> origin/databases-category
* [new branch] databases-sort-download-count -> origin/databases-sort-download-count
* [new branch] fix-databases-narrow-down -> origin/fix-databases-narrow-down
* [new branch] form-to-other-plugins -> origin/form-to-other-plugins
* [new branch] laravel-mix -> origin/laravel-mix
* [new branch] seaches-narrow-down -> origin/seaches-narrow-down
* [new branch] searches-category -> origin/searches-category
* [new branch] searches_body -> origin/searches_body
* [new tag] v2.3.2 -> v2.3.2
From https://github.com/opensource-workshop/connect-cms
* [new tag] v1.7.0 -> v1.7.0
* [new tag] v1.7.1 -> v1.7.1
* [new tag] v1.7.2 -> v1.7.2
* [new tag] v2.3.0 -> v2.3.0
* [new tag] v2.3.1 -> v2.3.1
Updating e489209..73b51d1
Fast-forward
app/Enums/FormsRegisterTargetPlugin.php | 41 +++
app/Enums/WebsiteType.php | 24 ++
app/Http/Controllers/Core/UploadController.php | 2 +-
app/Models/User/Databases/DatabasesInputs.php | 1 +
app/Models/User/Faqs/FaqsPosts.php | 2 +-
app/Models/User/Forms/Forms.php | 12 +
app/Models/User/Searchs/Searchs.php | 1 +
app/Plugins/Manage/PageManage/PageManage.php | 42 ++-
app/Plugins/User/Bbses/BbsesPlugin.php | 3 +-
app/Plugins/User/Blogs/BlogsPlugin.php | 7 +-
app/Plugins/User/Contents/ContentsPlugin.php | 3 +-
app/Plugins/User/Databases/DatabasesPlugin.php | 142 +++++++-
app/Plugins/User/Databases/DatabasesTool.php | 46 ++-
app/Plugins/User/Faqs/FaqsPlugin.php | 7 +-
app/Plugins/User/Forms/FormsPlugin.php | 224 ++++++++++++
.../User/Reservations/ReservationsPlugin.php | 5 +-
app/Plugins/User/Searchs/SearchsPlugin.php | 17 +-
.../Migration/MigrationExportHtmlPageTrait.php | 261 ++++++++++++++
app/Traits/Migration/MigrationTrait.php | 5 +-
composer-dev.lock | 380 +++++++++++----------
composer.lock | 288 ++++++++--------
config/app.php | 2 +
config/version.php | 2 +-
...add_categories_id_to_databases_inputs_table.php | 32 ++
...t_download_count_to_databases_columns_table.php | 32 ++
..._140941_add_target_frame_ids_to_forms_table.php | 34 ++
...5212_add_narrow_down_label_to_searchs_table.php | 32 ++
...933_drop_narrow_down_label_to_searchs_table.php | 32 ++
resources/views/core/cms_frame_header.blade.php | 29 +-
.../plugins/common/user_list_category.blade.php | 2 +-
.../plugins/manage/page/migration_order.blade.php | 29 +-
.../plugins/user/blogs/default/blogs.blade.php | 2 +-
.../user/blogs/default/blogs_show.blade.php | 2 +-
.../plugins/user/blogs/designbase/blogs.blade.php | 2 +-
.../user/blogs/designbase/blogs_show.blade.php | 2 +-
.../databases/databases_frame_edit_tab.blade.php | 9 +
.../databases/default/databases_confirm.blade.php | 12 +
.../default/databases_edit_row_detail.blade.php | 17 +
.../default/databases_edit_view.blade.php | 9 +-
.../default/databases_include_ctrl_head.blade.php | 58 ++--
.../databases/default/databases_input.blade.php | 14 +
.../default/databases_list_categories.blade.php | 28 ++
.../user/forms/default/forms_edit_form.blade.php | 44 +++
.../user/forms/default/forms_list_inputs.blade.php | 26 ++
.../searchs/default/searchs_edit_search.blade.php | 18 +-
.../user/searchs/default/searchs_form.blade.php | 5 +-
.../user/searchs/default/searchs_result.blade.php | 13 +-
47 files changed, 1566 insertions(+), 434 deletions(-)
create mode 100644 app/Enums/FormsRegisterTargetPlugin.php
create mode 100644 app/Enums/WebsiteType.php
create mode 100644 app/Traits/Migration/MigrationExportHtmlPageTrait.php
create mode 100644 database/migrations/2023_04_13_115632_add_categories_id_to_databases_inputs_table.php
create mode 100644 database/migrations/2023_04_17_154545_add_sort_download_count_to_databases_columns_table.php
create mode 100644 database/migrations/2023_04_20_140941_add_target_frame_ids_to_forms_table.php
create mode 100644 database/migrations/2023_04_20_195212_add_narrow_down_label_to_searchs_table.php
create mode 100644 database/migrations/2023_04_25_234933_drop_narrow_down_label_to_searchs_table.php
create mode 100644 resources/views/plugins/user/databases/default/databases_list_categories.blade.php
[connect-cms]$ php -d allow_url_fopen=1 composer.phar install --no-dev
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 22 updates, 0 removals
- Downloading symfony/css-selector (v5.4.21)
- Downloading symfony/var-dumper (v5.4.23)
- Downloading symfony/routing (v5.4.22)
省略
- Upgrading nikic/php-parser (v4.15.3 => v4.15.4): Extracting archive
- Upgrading psy/psysh (v0.11.12 => v0.11.16): Extracting archive
- Upgrading laravelcollective/html (v6.4.0 => v6.4.1): Extracting archive
- Upgrading symfony/yaml (v5.4.19 => v5.4.23): Extracting archive
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
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.
56 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[connect-cms]$ php artisan config:clear
Configuration cache cleared!
[connect-cms]$
新しい新着で作り直しましたが、症状は同じです。
以下を順番にやってみてはいかがでしょうか。
-------------------------
(1)Connect-CMS の本体が置いてあるディレクトリに移動する
( ls で artisan ファイルを確認できる場所)
(2)masterブランチに切り替える
git checkout master
(3)安定版の最新バージョンをインストールする
git pull && git checkout $(git describe --tags --abbrev=0)
(4)Composerで、利用するライブラリをインストールする
php -d allow_url_fopen=1 composer.phar install --no-dev
(5)コンフィグ・キャッシュをクリアする
php artisan config:clear
(6)DBマイグレーション を実行する
php artisan migrate
(7)seeder でデータをインポートする
php artisan db:seed
---------------------
( 参考: GitHub の アップロード ページ )
違ってたらごめんなさい。
DBマイグレーションをやってなくないですか?
あとデータインポートもされていなようです。
ご確認ください。
もし、アップデート手順のオチであれば、スクリプトを作成すると楽ですよ。
Connect-CMS_update.sh
Connect-CMSのディレクトリの変更をしてください。2つのサイトを変更できるものです。