Closed fr-sudachi closed 3 weeks ago
1.4.6以降 CodeDefinerのパラメータが増えていますが、その辺は大丈夫ですか?
https://pleasanter.org/ja/manual/getting-started-pleasanter-windows
1.4.6以降 CodeDefinerのパラメータが増えていますが、その辺は大丈夫ですか?
ありがとうございます。
Pleasanter停止→下記を実行→Pleasaner起動を試してみましたが、解消されませんでした。
docker compose run codedefiner _rds /l ja /z "Tokyo Standard Time"
docker compose run --rm codedefiner _rds /l ja /z "Asia/Tokyo"
Issueありがとうございます。
頂いたエラーメッセージを見ると[Tenants]テーブルの[Language]カラムの生成が出来ていないようです、 考えられる原因としまして「CodeDefiner _rds」が正しく実行出来ていない事が考えられます。
CodeDefinerに下記パラメータを追加して、[Tenants]テーブルに[Language]カラムがある事をご確認頂ければと思います。
codedefiner _rds /p 【Docker内のプリザンターの格納フォルダ】
※)細かいパラメータの指定の部分は適宜読み替えて頂ければと思います。
以上、よろしくお願いいたします。
CodeDefinerコンテナ内のパスでしょうか。
/app/Implem.Pleasanter
がデフォルトのパスと認識しており、App_Data/Parameters
配下のファイルを編集しています。
(実際にはホスト側のParametersフォルダをここへマウントしています。)
codedefinerにオプションp
を付与して実行してみました。
先頭文字列がスラッシュだとパラメータを読み取ってくれないようで、パス区切り文字をバックスラッシュで指定しています。
docker compose run --rm codedefiner _rds /p "\app\Implem.Pleasanter" /l "ja" /z "Asia/Tokyo"
[+] Creating 1/0
✔ Container pleasanter-db Running
<INFO> RdsConfigurator.UpdateDatabase: Implem.Pleasanter
<INFO> UsersConfigurator.Execute: Implem.Pleasanter_Owner
<INFO> UsersConfigurator.Execute: Implem.Pleasanter_User
<INFO> SchemaConfigurator.Configure: public
<INFO> TablesConfigurator.ConfigureTableSet: AutoNumberings
<INFO> TablesConfigurator.ConfigureTableSet: Binaries
<INFO> TablesConfigurator.ConfigureTableSet: Demos
<INFO> TablesConfigurator.ConfigureTableSet: Depts
<INFO> TablesConfigurator.ConfigureTableSet: ExportSettings
<INFO> TablesConfigurator.ConfigureTableSet: Extensions
<INFO> TablesConfigurator.ConfigureTableSet: GroupMembers
<INFO> TablesConfigurator.ConfigureTableSet: Groups
<INFO> TablesConfigurator.ConfigureTableSet: Items
<INFO> TablesConfigurator.ConfigureTableSet: Links
<INFO> TablesConfigurator.ConfigureTableSet: LoginKeys
<INFO> TablesConfigurator.ConfigureTableSet: MailAddresses
<INFO> TablesConfigurator.ConfigureTableSet: Orders
<INFO> TablesConfigurator.ConfigureTableSet: OutgoingMails
<INFO> TablesConfigurator.ConfigureTableSet: Registrations
<INFO> TablesConfigurator.ConfigureTableSet: ReminderSchedules
<INFO> TablesConfigurator.ConfigureTableSet: Sessions
<INFO> TablesConfigurator.ConfigureTableSet: Sites
<INFO> TablesConfigurator.ConfigureTableSet: Statuses
<INFO> TablesConfigurator.ConfigureTableSet: SysLogs
<INFO> TablesConfigurator.ConfigureTableSet: Tenants
<INFO> TablesConfigurator.ConfigureTableSet: Users
<INFO> TablesConfigurator.ConfigureTableSet: Permissions
<INFO> TablesConfigurator.ConfigureTableSet: Dashboards
<INFO> TablesConfigurator.ConfigureTableSet: Issues
<INFO> TablesConfigurator.ConfigureTableSet: Results
<INFO> TablesConfigurator.ConfigureTableSet: Wikis
<INFO> PrivilegeConfigurator.Execute: Implem.Pleasanter_Owner
<INFO> PrivilegeConfigurator.Execute: Implem.Pleasanter_User
<SUCCESS> Starter.ConfigureDatabase: Database configuration has been completed.
<SUCCESS> Starter.Main: All of the processes have been completed.
これを実施後も問題は解消されませんでした。
@fr-sudachi 確認ありがとうございます。 これで動くとの確約はできませんが、下記を試して頂けますでしょうか?
codedefinerのdocker imageを更新
docker pull implem/pleasanter:codedefiner
その後に再度「codedefiner _rds」を実行
下記のメッセージが画面に出ていればOKです。
<INFO> RdsConfigurator.UpdateDatabase: Implem.Pleasanter
<INFO> UsersConfigurator.Execute: Implem.Pleasanter_Owner
<INFO> UsersConfigurator.Execute: Implem.Pleasanter_User
<INFO> SchemaConfigurator.Configure:
<INFO> TablesConfigurator.ConfigureTableSet: AutoNumberings
<INFO> TablesConfigurator.ConfigureTableSet: Binaries
【略】
<INFO> TablesConfigurator.ConfigureTableSet: Tenants
<INFO> Tables.MigrateTable: Tenants ★この行でTenantsテーブルの更新が確認できる
<INFO> Tables.CreateTable: Tenants
<INFO> TablesConfigurator.ConfigureTableSet: Users
【略】
<INFO> PrivilegeConfigurator.Execute: Implem.Pleasanter_Owner
<INFO> PrivilegeConfigurator.Execute: Implem.Pleasanter_User
<SUCCESS> Starter.ConfigureDatabase: Database configuration has been completed.
<SUCCESS> Starter.Main: All of the processes have been completed.
あとは、「codedefinerが参照しているパラメータが本当にマウントしたフォルダ内の物なのか?」等が確認ポイントになるかと思います。
これで動くとの確約はできませんが、下記を試して頂けますでしょうか?
codedefinerのdocker imageを更新
docker pull implem/pleasanter:codedefiner
こちらで解決いたしました。
私の知識不足で申し訳ないです。
同名のイメージの場合は、レジストリ上の更新を自動で取得してくれないのですね。
今後更新作業を行う際は、イメージを明示的にpullすることにいたします。
ご教授頂きありがとうございました。
@fr-sudachi プリザンターのバージョンアップがうまく行ったようで良かったです。 問題が解消したようでしたら、本チケットのCloseして頂ければと思います。
以上、よろしくお願いいたします。
概要
バージョン1.4.5.0以前から1.4.6.0移行へ更新を行うと、ブラウザでアクセスした際にサーバエラーが発生する現象を確認しました。
元々は1.3.31.0からの最新バージョンへの更新を予定しておりましたが、本問題が発生したため、段階的に更新予定バージョンを下げて、検証を行いました。
1.4.5.0への更新は問題ないことを確認しております。
環境
Dockerコンテナでの実行で確認いたしました。
RDBMSはPostgreSQLの16を使用しています。こちらもDockerコンテナです。
元バージョンは1.3.31.0です。
アプリバージョンの更新手順
ユーザマニュアルの「バージョンアップ・更新」を参考に、Dockerコンテナ用に下記を行っています。
Paramertersの変更
バージョン1.4.7.2をローカルにダウンロードし、変更箇所のマージを行ったものを、
/app/Implem.Pleasanter/App_Data/Parameters
へボリュームマウントします。 アプリ側とCodeDefiner側両方にマウントしています。Dockerコンテナのセットアップ
.env
とdocker-compose.yml
を作成。アプリケーションの起動
docker compose run codedefiner _rds
を実行docker compose up -d -p 8080:8080 pleasanrer
を実行現象の再現手順
現象発生時のログ