事前情報†
リソース†
- GROWI は markup ベースのページ作成ツール(OSS)
- WESEEK, Inc. が社内ツールとして開発メンテしているもの
- Crowi のフォーク
- pukiwiki の後継情報アグリゲーションサイトとして検討
- 2020年時点でもコードメンテ、リリースの実態があり本家 (crowi、右) よりアクティブ
- なので、今回お試しで GROWI の方をインストールしてみる事にした
必要なパッケージ群をインストール†
- docker イメージ、heiroku イメージも用意されているが Ubuntu にインストール
- 公式ドキュメントでは Ubuntu 16.04 向けのインストール手順が公開も 18.04 はスコープ外
- Ubuntu18.04にGrowiをインストール を参考に 18.04 環境に移植
- 特に nodejs のバージョン(既にメンテが止まっている v8.4 に依存している)指定がポイント
必要パッケージ†
- node.js 8.x (DO NOT USE 9.x)
- npm 5.x
- yarn
- MongoDB 3.x
- Redis 3.x (Optional)
- Elasticsearch 5.x (Optional)
- Japanese (kuromoji) Analysis plugin
- ICU Analysis Plugin
node/npm†
curl で v8.4 の repo を指定(ワーニング表示後にインストールされた)†
[KGB] munakata:~$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
================================================================================
================================================================================
DEPRECATION WARNING
Node.js 8.x LTS Carbon is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
* https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"
* https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended)
* https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium"
Please see https://github.com/nodejs/Release for details about which
version may be appropriate for you.
The NodeSource Node.js distributions repository contains
information both about supported versions of Node.js and supported Linux
distributions. To learn more about usage, see the repository:
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 20 seconds ...
## Installing the NodeSource Node.js 8.x LTS Carbon repo...
## Populating apt-get cache...
+ apt-get update
取得:1 file:/var/opt/amdgpu-pro-local ./ InRelease
無視:1 file:/var/opt/amdgpu-pro-local ./ InRelease
取得:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
取得:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
取得:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
無視:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
エラー:4 http://archive.ubuntu.com/ubuntu bionic InRelease
'archive.ubuntu.com' を解決できませんでした
ヒット:5 http://jp.archive.ubuntu.com/ubuntu bionic InRelease
取得:6 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
ヒット:7 https://dl.yarnpkg.com/debian stable InRelease
無視:8 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
取得:9 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
ヒット:10 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
ヒット:11 http://dl.google.com/linux/chrome/deb stable InRelease
取得:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
ヒット:14 http://archive.canonical.com/ubuntu xenial InRelease
無視:15 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
ヒット:16 https://artifacts.elastic.co/packages/5.x/apt stable Release
252 kB を 1秒 で取得しました (176 kB/s)
パッケージリストを読み込んでいます... 完了
W: http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease の取得に失敗しました 'archive.ubuntu.com' を解決できませんでした
W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
## Confirming "bionic" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/bionic/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 8.x LTS Carbon repo...
+ echo 'deb https://deb.nodesource.com/node_8.x bionic main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_8.x bionic main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
取得:1 file:/var/opt/amdgpu-pro-local ./ InRelease
無視:1 file:/var/opt/amdgpu-pro-local ./ InRelease
取得:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
エラー:3 http://archive.ubuntu.com/ubuntu bionic InRelease
'archive.ubuntu.com' を解決できませんでした
取得:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
取得:4 file:/var/opt/amdgpu-pro-local ./ Release.gpg
無視:4 file:/var/opt/amdgpu-pro-local ./ Release.gpg
ヒット:5 http://jp.archive.ubuntu.com/ubuntu bionic InRelease
取得:6 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
ヒット:7 http://dl.google.com/linux/chrome/deb stable InRelease
取得:8 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
ヒット:9 https://dl.yarnpkg.com/debian stable InRelease
無視:10 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
ヒット:11 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
ヒット:12 http://archive.canonical.com/ubuntu xenial InRelease
取得:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
取得:15 https://deb.nodesource.com/node_8.x bionic InRelease [4,595 B]
無視:16 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
ヒット:17 https://artifacts.elastic.co/packages/5.x/apt stable Release
取得:19 https://deb.nodesource.com/node_8.x bionic/main i386 Packages [766 B]
取得:20 https://deb.nodesource.com/node_8.x bionic/main amd64 Packages [767 B]
258 kB を 2秒 で取得しました (136 kB/s)
パッケージリストを読み込んでいます... 完了
W: http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease の取得に失敗しました 'archive.ubuntu.com' を解決できませんでした
W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
nodejs のインストール (同時に npm も入った)†
[KGB] munakata:~$ sudo apt install -y nodejs
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
libboost-program-options1.65.1 libgoogle-perftools4 libpcrecpp0v5 libtcmalloc-minimal4 libyaml-cpp0.5v5 linux-headers-4.15.0-118
linux-headers-4.15.0-118-generic linux-image-4.15.0-118-generic linux-modules-4.15.0-118-generic linux-modules-extra-4.15.0-118-generic
これを削除するには 'sudo apt autoremove' を利用してください。
以下のパッケージが新たにインストールされます:
nodejs
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
14.1 MB のアーカイブを取得する必要があります。
この操作後に追加で 70.5 MB のディスク容量が消費されます。
取得:1 https://deb.nodesource.com/node_8.x bionic/main amd64 nodejs amd64 8.17.0-1nodesource1 [14.1 MB]
14.1 MB を 4秒 で取得しました (3,391 kB/s)
以前に未選択のパッケージ nodejs を選択しています。
(データベースを読み込んでいます ... 現在 284730 個のファイルとディレクトリがインストールされています。)
.../nodejs_8.17.0-1nodesource1_amd64.deb を展開する準備をしています ...
nodejs (8.17.0-1nodesource1) を展開しています...
nodejs (8.17.0-1nodesource1) を設定しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
[KGB] munakata:~$ node -v
v8.17.0
[KGB] munakata:~$ npm -v
6.13.4
yarn のリポジトリ設定、インストール†
[KGB] munakata:~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
[KGB] munakata:~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
[KGB] munakata:~$ sudo apt-get update && sudo apt-get install yarn
yarn はすでに最新バージョン (1.22.5-1) です。<--------- 一度上記手順でインストールしていたので
[KGB] munakata:~$ yarn -v
1.22.5
mongodb のインストール†
インストール†
[KGB] munakata:~$ sudo apt install -y mongodb mongodb-server mongo-tools
(問題なく進んだので経過は省略)
起動とステータス確認†
[KGB] munakata:~$ sudo systemctl start mongodb
[KGB] munakata:~$ sudo systemctl status mongodb
● mongodb.service - An object/document-oriented database
Loaded: loaded (/lib/systemd/system/mongodb.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-10-20 11:08:54 JST; 1min 59s ago
Docs: man:mongod(1)
Main PID: 346 (mongod)
Tasks: 23 (limit: 4915)
CGroup: /system.slice/mongodb.service
└─346 /usr/bin/mongod --unixSocketPrefix=/run/mongodb --config /etc/mongodb.conf
10月 20 11:08:54 mvc systemd[1]: Started An object/document-oriented database.
自動起動の有効化†
[KGB] munakata:~$ sudo systemctl enable mongodb
Synchronizing state of mongodb.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mongodb
バージョン確認(exit で抜ける)†
[KGB] munakata:~$ mongo
MongoDB shell version v3.6.3
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.6.3
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
Server has startup warnings:
2020-10-20T11:08:54.284+0900 I STORAGE [initandlisten]
2020-10-20T11:08:54.284+0900 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger
storage engine
2020-10-20T11:08:54.284+0900 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2020-10-20T11:08:55.309+0900 I CONTROL [initandlisten]
2020-10-20T11:08:55.309+0900 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2020-10-20T11:08:55.309+0900 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2020-10-20T11:08:55.309+0900 I CONTROL [initandlisten]
> exit
bye
java のインストール†
apt で openjdk をインストール†
[KGB] munakata:~$ sudo apt install -y default-jre openjdk-11-jre-headless openjdk-8-jre-headless
(問題なく進んだので経過は省略)
[KGB] munakata:~$ java --version
openjdk 11.0.8 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
インストール先を確認し JAVA_HOMEに java8 を設定†
[KGB] munakata:~$ update-alternatives --list java
/usr/lib/jvm/java-11-openjdk-amd64/bin/java
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
[KGB] munakata:~$ sudo vi /etc/profile.d/java.sh
[KGB] munakata:~$ cat /etc/profile.d/java.sh
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
(一度ログアウト)
[KGB] munakata:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-openjdk-amd64
Elasticsearchのリポジトリ設定、インストール†
elasticsearch を apt でインストール†
[KGB] munakata:~$ sudo apt update
[KGB] munakata:~$ sudo apt install -y elasticsearch
plug-in インストール†
[KGB] munakata:~$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-kuromoji
-> Downloading analysis-kuromoji from elastic
[=================================================] 100%
-> Installed analysis-kuromoji
[KGB] munakata:~$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
-> Downloading analysis-icu from elastic
[=================================================] 100%
-> Installed analysis-icu
起動とステータス確認†
[KGB] munakata:~$ sudo systemctl start elasticsearch
[KGB] munakata:~$ sudo systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-10-08 19:14:01 JST; 1 weeks 4 days ago
Docs: http://www.elastic.co
Main PID: 8414 (java)
Tasks: 55 (limit: 4915)
CGroup: /system.slice/elasticsearch.service
└─8414 /usr/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnl
10月 08 19:14:01 mvc systemd[1]: Starting Elasticsearch...
10月 08 19:14:01 mvc systemd[1]: Started Elasticsearch.
- メモリーは 2GB 割り当てられている(十分以上に大きい)
自動起動の有効化†
[KGB] munakata:~$ sudo systemctl enable elasticsearch
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch
動作確認†
[KGB] munakata:~$ curl localhost:9200
{
"name" : "qTywGV3",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "QIjtkuqkQTmgaNh0XrRuNQ",
"version" : {
"number" : "5.6.16",
"build_hash" : "3a740d1",
"build_date" : "2019-03-13T15:33:36.565Z",
"build_snapshot" : false,
"lucene_version" : "6.6.1"
},
"tagline" : "You Know, for Search"
}
Redis†
リポジトリ追加†
[KGB] munakata:~$ sudo add-apt-repository ppa:chris-lea/redis-server
Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
詳しい情報: https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server
[ENTER] を押すと続行します。Ctrl-c で追加をキャンセルできます。
(以下省略)
バージョン確認†
[KGB] munakata:~$ sudo apt show redis-server
Package: redis-server
Version: 5:6.0.6-3chl1~bionic1
Priority: optional
Section: database
Source: redis
Maintainer: Chris Lamb <lamby@debian.org>
Installed-Size: 178 kB
Depends: lsb-base (>= 3.2-14), redis-tools (= 5:6.0.6-3chl1~bionic1)
Download-Size: 84.6 kB
APT-Sources: http://ppa.launchpad.net/chris-lea/redis-server/ubuntu bionic/main amd64 Packages
Description: ネットワークインターフェースを備えた永続的キーバリューデータベース
Redis は memcache のようなキーバリューデータベースですが、データセットは不 揮発性です。さらに Redis
は、リストやセットといったデータ構造のアトミックな 操作や検索をネイティブにサポートします。
.
データセットはすべてメモリ内に保存され、定期的にディスクに保存されます。
N: 追加レコードが 2 件あります。表示するには '-a' スイッチを付けてください。
インストール†
[KGB] munakata:~$ sudo apt install -y redis-server
(以下省略)
[KGB] munakata:~$ redis-cli --version
redis-cli 6.0.6
[KGB] munakata:~$ redis-server --version
Redis server v=6.0.6 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=d463d609620685c0
起動とステータス確認†
[KGB] munakata:~$ sudo systemctl start redis-server
[KGB] munakata:~$ sudo systemctl status redis-server
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2020-10-20 12:36:19 JST; 2min 4s ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Main PID: 10466 (redis-server)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/redis-server.service
└─10466 /usr/bin/redis-server 127.0.0.1:6379
10月 20 12:36:19 mvc systemd[1]: Starting Advanced key-value store...
10月 20 12:36:19 mvc systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid (yet?) after start: No such file o
10月 20 12:36:19 mvc systemd[1]: Started Advanced key-value store.
自動起動の有効化†
[KGB] munakata:~$ sudo systemctl enable redis-server
Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable redis-server
Created symlink /etc/systemd/system/redis.service → /lib/systemd/system/redis-server.service.
GROWI 本体のインストール†
github から最新バージョンをフェッチ†
[KGB] munakata:~$ cd /opt
[KGB] munakata:/opt$ sudo git clone https://github.com/weseek/growi
Cloning into 'growi'...
remote: Enumerating objects: 387, done.
remote: Counting objects: 100% (387/387), done.
remote: Compressing objects: 100% (263/263), done.
remote: Total 156607 (delta 200), reused 225 (delta 119), pack-reused 156220
Receiving objects: 100% (156607/156607), 40.27 MiB | 1.63 MiB/s, done.
Resolving deltas: 100% (116863/116863), done.
[KGB] munakata:/opt$ cd growi/
[KGB] munakata:/opt/growi$ sudo git tag -l
(最新バージョンが v4.1.9 である事を確認)
[KGB] munakata:/opt/growi$ sudo git checkout -b v4.1.9 refs/tags/v4.1.9
Switched to a new branch 'v4.1.9'
yarn でインストール†
[KGB] munakata:/opt/growi$ sudo yarn
yarn install v1.22.5
[1/5] Validating package.json...
error growi@4.1.9: The engine "node" is incompatible with this module. Expected version "^12 || ^14". Got "8.17.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
- わざわざ古い node v8.x をインストールしたが、node が古いと怒られた、ドキュメントが古いまま...
インストール済みの npm を使って n コマンドをインストール†
[KGB] munakata:/opt/growi$ sudo npm install -g n
/usr/bin/n -> /usr/lib/node_modules/n/bin/n
+ n@6.7.0
added 1 package from 4 contributors in 1.338s
nodejs のアップデート†
- nodejs リリース一覧 から最新の LTS バージョンを確認 → 12.19.0 が Erbium の最新
- 12.x は GROWI 4.1.9 のサポートバージョン
- n コマンドで最新の Stable 版をインストール
[KGB] munakata:/opt/growi$ sudo n lts
installed : v12.19.0 (with npm 6.14.8)
Note: the node command changed location and the old location may be remembered in your current shell.
old : /usr/bin/node
new : /usr/local/bin/node
To reset the command location hash either start a new shell, or execute PATH="$PATH"
- path の変更を反映
[KGB] munakata:/opt/growi$ which node
/usr/local/bin/node
(shell を再起動)
[KGB] munakata:~$ node -v
v12.19.0
yarn 再実行†
[KGB] munakata:/opt$ cd growi
[KGB] munakata:/opt/growi$ sudo yarn
yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > multer-autoreap@1.0.3" has incorrect peer dependency "express@^4.16.3".
warning " > react-card-flip@1.0.10" has incorrect peer dependency "react@^16.8.6".
warning " > react-card-flip@1.0.10" has incorrect peer dependency "react-dom@^16.8.6".
warning " > @atlaskit/drawer@5.3.7" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/avatar@17.1.11" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/blanket@10.0.18" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/icon@20.1.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/item@11.0.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/theme@9.5.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > @atlaskit/tooltip@15.2.7" has incorrect peer dependency "styled-components@^3.2.6".
warning " > @atlaskit/navigation-next@8.0.5" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > @atlaskit/spinner@12.1.7" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > react-beautiful-dnd@12.2.0" has incorrect peer dependency "react@^16.8.5".
warning "@atlaskit/navigation-next > react-beautiful-dnd@12.2.0" has incorrect peer dependency "react-dom@^16.8.5".
warning "@atlaskit/navigation-next > unstated@1.2.0" has unmet peer dependency "prop-types@^15.5.0".
warning "unstated > create-react-context@0.1.6" has unmet peer dependency "prop-types@^15.0.0".
warning " > bootstrap@4.5.0" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.5.0" has unmet peer dependency "popper.js@^1.16.0".
warning "eslint-config-weseek > eslint-config-airbnb@17.1.0" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
warning "eslint-config-weseek > eslint-config-airbnb@17.1.0" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.1.1".
warning "eslint-config-weseek > eslint-config-airbnb > eslint-config-airbnb-base@13.1.0" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
warning "eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.17.1" has unmet peer
dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning " > react-frame-component@4.0.0" has unmet peer dependency "prop-types@^15.5.9".
warning " > styled-components@5.0.1" has unmet peer dependency "react-is@>= 16.8.0".
warning " > stylelint-config-recess-order@2.0.1" has incorrect peer dependency "stylelint@^9.9.0".
warning "stylelint-config-recess-order > stylelint-order@2.1.0" has incorrect peer dependency "stylelint@^9.10.1".
warning "swagger2openapi > better-ajv-errors@0.6.6" has unmet peer dependency "ajv@4.11.8 - 6".
[5/5] Building fresh packages...
Done in 25.54s.
GROWI インストール†
[KGB] munakata:/opt/growi$ sudo NODE_ENV=production MONGO_URI=mongodb://localhost:27017/growi ELASTICSEARCH_URI=http://localhost:9200/growi REDIS_URI=redis://localhost:6379 PASSWORD_SEED=7mochahiko FILE_UPLOAD=local npm start
> growi@4.1.9 prestart /opt/growi
> npm run build:prod
> growi@4.1.9 prebuild:prod /opt/growi
> npm run clean && env-cmd -f config/env.prod.js npm run plugin:def && env-cmd -f config/env.prod.js npm run resource
> growi@4.1.9 clean /opt/growi
> npm-run-all -p clean:*
> growi@4.1.9 clean:app /opt/growi
> rimraf -- public/js public/styles
> growi@4.1.9 clean:report /opt/growi
> rimraf -- report
> growi@4.1.9 plugin:def /opt/growi
> node bin/generate-plugin-definitions-source.js
[2020-10-20T05:37:11.583Z] INFO: growi:bin:generate-plugin-definitions-source/13722 on mvc: Detected plugins: []
> growi@4.1.9 resource /opt/growi
> node bin/download-cdn-resources.js
[2020-10-20T05:37:11.892Z] INFO: growi:bin:download-cdn-resources/13748 on mvc: Using CDN. No resources are downloaded.
> growi@4.1.9 build:prod /opt/growi
> env-cmd -f config/env.prod.js webpack --config config/webpack.prod.js --profile --bail
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
Hash: 7009b62b1943465b1893
Version: webpack 4.39.3
Time: 42505ms
Built at: 2020-10-20 14:37:55
Asset Size Chunks Chunk Names
27.a3ba849652304d073b39.chunk.js 13 KiB 27 [emitted]
27.a3ba849652304d073b39.chunk.js.LICENSE.txt 251 bytes [emitted]
js/admin.e2b874fb2e6cb3c61d3b.bundle.js 341 KiB 2 [emitted] [big] js/admin
js/app.649e41fbe63fb1967b66.bundle.js 298 KiB 3 [emitted] [big] js/app
js/boot.6cf3609100967c43a9fb.bundle.js 1.97 KiB 4 [emitted] js/boot
js/commons.d0f59e9e30d11555c470.chunk.js 398 KiB 1 [emitted] [big] js/commons
js/hackmd-agent.1a1b6e7846d78da8fa09.bundle.js 9.02 KiB 5 [emitted] js/hackmd-agent
js/hackmd-styles.f5a5c081ea81d080a767.bundle.js 1.41 KiB 6 [emitted] js/hackmd-styles
js/ie11-polyfill.496fab7cd166596be9de.bundle.js 148 KiB 7 [emitted] js/ie11-polyfill
js/legacy-presentation.a52afa64847ef327058c.bundle.js 64.2 KiB 9 [emitted] js/legacy-presentation
js/legacy-presentation.a52afa64847ef327058c.bundle.js.LICENSE.txt 199 bytes [emitted]
js/legacy.ddf73f0f8d5a64b1c793.bundle.js 12.5 KiB 8 [emitted] js/legacy
js/nologin.62649b2c1bca9be8522b.bundle.js 17.8 KiB 10 [emitted] js/nologin
js/plugin.0bca91349dcdec4a3a99.bundle.js 4.41 KiB 11 [emitted] js/plugin
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js 2.59 MiB 0 [emitted] [big] js/vendors
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js.LICENSE.txt 9.1 KiB [emitted]
manifest.json 3.21 KiB [emitted]
styles/style-app.59989d04a65db76cb22d.bundle.js 1020 bytes 12 [emitted] styles/style-app
styles/style-app.7009b62b1943465b1893.css 329 KiB 12 [emitted] [big] styles/style-app
styles/style-commons.661288ef5b7b1723e59a.chunk.js 275 bytes 13 [emitted] styles/style-commons
styles/style-commons.7009b62b1943465b1893.css 6.24 KiB 13 [emitted] styles/style-commons
styles/style-hackmd.7009b62b1943465b1893.css 274 bytes 14 [emitted] styles/style-hackmd
styles/style-hackmd.d8b1c7edb8a2a1f8ca36.bundle.js 1010 bytes 14 [emitted] styles/style-hackmd
styles/style-presentation.05007d4e8ce87b62f8be.bundle.js 1.01 KiB 15 [emitted] styles/style-presentation
styles/style-presentation.7009b62b1943465b1893.css 90.5 KiB 15 [emitted] styles/style-presentation
styles/theme-antarctic.7009b62b1943465b1893.css 158 KiB 16 [emitted] styles/theme-antarctic
styles/theme-antarctic.c17683aaadf38a088f9e.bundle.js 1 KiB 16 [emitted] styles/theme-antarctic
styles/theme-christmas.20c6fd4e6e78f97100ed.bundle.js 1 KiB 17 [emitted] styles/theme-christmas
styles/theme-christmas.7009b62b1943465b1893.css 159 KiB 17 [emitted] styles/theme-christmas
styles/theme-default.7009b62b1943465b1893.css 246 KiB 18 [emitted] [big] styles/theme-default
styles/theme-default.b35207d802171d413bac.bundle.js 1020 bytes 18 [emitted] styles/theme-default
styles/theme-future.2ba0d6e0491f32d0dbff.bundle.js 1020 bytes 19 [emitted] styles/theme-future
styles/theme-future.7009b62b1943465b1893.css 224 KiB 19 [emitted] styles/theme-future
styles/theme-halloween.7009b62b1943465b1893.css 224 KiB 20 [emitted] styles/theme-halloween
styles/theme-halloween.8d8ac27b29e01139d473.bundle.js 1 KiB 20 [emitted] styles/theme-halloween
styles/theme-island.7009b62b1943465b1893.css 158 KiB 21 [emitted] styles/theme-island
styles/theme-island.96647462981d30e73d00.bundle.js 1020 bytes 21 [emitted] styles/theme-island
styles/theme-kibela.6fcb36b4ebb251dea013.bundle.js 1020 bytes 22 [emitted] styles/theme-kibela
styles/theme-kibela.7009b62b1943465b1893.css 165 KiB 22 [emitted] styles/theme-kibela
styles/theme-mono-blue.4a44b807af1909ccc079.bundle.js 1 KiB 23 [emitted] styles/theme-mono-blue
styles/theme-mono-blue.7009b62b1943465b1893.css 247 KiB 23 [emitted] [big] styles/theme-mono-blue
styles/theme-nature.3039920df46f5cea4c99.bundle.js 1020 bytes 24 [emitted] styles/theme-nature
styles/theme-nature.7009b62b1943465b1893.css 158 KiB 24 [emitted] styles/theme-nature
styles/theme-spring.0dbf4ece6adb5180832b.bundle.js 1020 bytes 25 [emitted] styles/theme-spring
styles/theme-spring.7009b62b1943465b1893.css 158 KiB 25 [emitted] styles/theme-spring
styles/theme-wood.7009b62b1943465b1893.css 158 KiB 26 [emitted] styles/theme-wood
styles/theme-wood.d164662af1f9d09aa05a.bundle.js 1020 bytes 26 [emitted] styles/theme-wood
Entrypoint js/boot = js/boot.6cf3609100967c43a9fb.bundle.js
Entrypoint js/app [big] = styles/style-commons.7009b62b1943465b1893.css styles/style-commons.661288ef5b7b1723e59a.chunk.js
js/commons.d0f59e9e30d11555c470.chunk.js js/vendors.ed8a2c6cb8a6492f67d5.chunk.js js/app.649e41fbe63fb1967b66.bundle.js
Entrypoint js/admin [big] = js/commons.d0f59e9e30d11555c470.chunk.js js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/admin.e2b874fb2e6cb3c61d3b.bundle.js
Entrypoint js/nologin [big] = js/commons.d0f59e9e30d11555c470.chunk.js js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/nologin.62649b2c1bca9be8522b.bundle.js
Entrypoint js/legacy [big] = js/vendors.ed8a2c6cb8a6492f67d5.chunk.js js/legacy.ddf73f0f8d5a64b1c793.bundle.js
Entrypoint js/legacy-presentation = js/legacy-presentation.a52afa64847ef327058c.bundle.js
Entrypoint js/plugin [big] = js/commons.d0f59e9e30d11555c470.chunk.js js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/plugin.0bca91349dcdec4a3a99.bundle.js
Entrypoint js/ie11-polyfill = js/ie11-polyfill.496fab7cd166596be9de.bundle.js
Entrypoint js/hackmd-agent = js/hackmd-agent.1a1b6e7846d78da8fa09.bundle.js
Entrypoint js/hackmd-styles = js/hackmd-styles.f5a5c081ea81d080a767.bundle.js
Entrypoint styles/style-app [big] = styles/style-app.7009b62b1943465b1893.css styles/style-app.59989d04a65db76cb22d.bundle.js
Entrypoint styles/style-presentation = styles/style-presentation.7009b62b1943465b1893.css styles/style- presentation.05007d4e8ce87b62f8be.bundle.js
Entrypoint styles/theme-default [big] = styles/theme-default.7009b62b1943465b1893.css styles/theme-default.b35207d802171d413bac.bundle.js
Entrypoint styles/theme-nature = styles/theme-nature.7009b62b1943465b1893.css styles/theme-nature.3039920df46f5cea4c99.bundle.js
Entrypoint styles/theme-mono-blue [big] = styles/theme-mono-blue.7009b62b1943465b1893.css styles/theme-mono-blue.4a44b807af1909ccc079.bundle.js
Entrypoint styles/theme-future = styles/theme-future.7009b62b1943465b1893.css styles/theme-future.2ba0d6e0491f32d0dbff.bundle.js
Entrypoint styles/theme-kibela = styles/theme-kibela.7009b62b1943465b1893.css styles/theme-kibela.6fcb36b4ebb251dea013.bundle.js
Entrypoint styles/theme-halloween = styles/theme-halloween.7009b62b1943465b1893.css styles/theme-halloween.8d8ac27b29e01139d473.bundle.js
Entrypoint styles/theme-christmas = styles/theme-christmas.7009b62b1943465b1893.css styles/theme-christmas.20c6fd4e6e78f97100ed.bundle.js
Entrypoint styles/theme-wood = styles/theme-wood.7009b62b1943465b1893.css styles/theme-wood.d164662af1f9d09aa05a.bundle.js
Entrypoint styles/theme-island = styles/theme-island.7009b62b1943465b1893.css styles/theme-island.96647462981d30e73d00.bundle.js
Entrypoint styles/theme-antarctic = styles/theme-antarctic.7009b62b1943465b1893.css styles/theme-antarctic.c17683aaadf38a088f9e.bundle.js
Entrypoint styles/theme-spring = styles/theme-spring.7009b62b1943465b1893.css styles/theme-spring.0dbf4ece6adb5180832b.bundle.js
Entrypoint styles/style-hackmd = styles/style-hackmd.7009b62b1943465b1893.css styles/style-hackmd.d8b1c7edb8a2a1f8ca36.bundle.js
[./src/client/js/admin.jsx] ./src/client/js/admin.jsx + 131 modules 565 KiB {2} [built]
| ./src/client/js/admin.jsx 7.14 KiB [built]
| factory:304ms building:1378ms dependencies:859ms = 2541ms
| ./src/client/js/services/AdminHomeContainer.js 1.46 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminUserGroupDetailContainer.js 5.07 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminNotificationContainer.js 4.57 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminMarkDownContainer.js 3.61 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminUsersContainer.js 7.03 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminAppContainer.js 8.13 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminGeneralSecurityContainer.js 6.63 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminLocalSecurityContainer.js 2.36 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminSamlSecurityContainer.js 6.86 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminOidcSecurityContainer.js 8.62 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminBasicSecurityContainer.js 2.3 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminGoogleSecurityContainer.js 3.12 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminGitHubSecurityContainer.js 3.12 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| ./src/client/js/services/AdminTwitterSecurityContainer.js 3.25 KiB [built]
| [] 1682ms -> factory:1204ms building:845ms dependencies:3529ms = 7260ms
| + 117 hidden modules
[./src/client/js/app.jsx] 6.51 KiB {3} [built]
factory:304ms building:1339ms dependencies:888ms = 2531ms
[./src/client/js/boot.js] 75 bytes {4} [built]
factory:287ms building:1336ms = 1623ms
[./src/client/js/hackmd-agent.js] 3.53 KiB {5} [built]
factory:304ms building:1325ms = 1629ms
[./src/client/js/hackmd-styles.js] 1.02 KiB {6} [built]
factory:304ms building:1320ms = 1624ms
[./src/client/js/ie11-polyfill.js] 25 bytes {7} [built]
factory:304ms building:1319ms = 1623ms
[./src/client/js/legacy/crowi-presentation.js] 1.76 KiB {9} [built]
factory:304ms building:1329ms = 1633ms
[./src/client/js/legacy/crowi.js] 11.3 KiB {8} [built]
factory:304ms building:1369ms dependencies:0ms = 1673ms
[./src/client/js/nologin.jsx] ./src/client/js/nologin.jsx + 2 modules 21.1 KiB {10} [built]
| ./src/client/js/nologin.jsx 2.78 KiB [built]
| factory:304ms building:1383ms dependencies:854ms = 2541ms
| + 2 hidden modules
[./src/client/js/plugin.js] 1.26 KiB {11} [built]
factory:304ms building:1318ms = 1622ms
[./src/client/styles/hackmd/style.scss] 39 bytes {14} [built]
factory:99ms building:1515ms = 1614ms
[./src/client/styles/scss/style-app.scss] 39 bytes {12} [built]
factory:70ms building:10873ms = 10943ms
[./src/client/styles/scss/style-presentation.scss] 39 bytes {15} [built]
factory:86ms building:9251ms = 9337ms
[./src/client/styles/scss/theme/antarctic.scss] 39 bytes {16} [built]
factory:97ms building:11642ms = 11739ms
[./src/client/styles/scss/theme/christmas.scss] 39 bytes {17} [built]
factory:94ms building:11057ms = 11151ms
+ 1540 hidden modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js (2.59 MiB)
js/commons.d0f59e9e30d11555c470.chunk.js (398 KiB)
js/admin.e2b874fb2e6cb3c61d3b.bundle.js (341 KiB)
js/app.649e41fbe63fb1967b66.bundle.js (298 KiB)
styles/style-app.7009b62b1943465b1893.css (329 KiB)
styles/theme-default.7009b62b1943465b1893.css (246 KiB)
styles/theme-mono-blue.7009b62b1943465b1893.css (247 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
js/app (3.27 MiB)
styles/style-commons.7009b62b1943465b1893.css
styles/style-commons.661288ef5b7b1723e59a.chunk.js
js/commons.d0f59e9e30d11555c470.chunk.js
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/app.649e41fbe63fb1967b66.bundle.js
js/admin (3.31 MiB)
js/commons.d0f59e9e30d11555c470.chunk.js
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/admin.e2b874fb2e6cb3c61d3b.bundle.js
js/nologin (2.99 MiB)
js/commons.d0f59e9e30d11555c470.chunk.js
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/nologin.62649b2c1bca9be8522b.bundle.js
js/legacy (2.6 MiB)
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/legacy.ddf73f0f8d5a64b1c793.bundle.js
js/plugin (2.98 MiB)
js/commons.d0f59e9e30d11555c470.chunk.js
js/vendors.ed8a2c6cb8a6492f67d5.chunk.js
js/plugin.0bca91349dcdec4a3a99.bundle.js
styles/style-app (330 KiB)
styles/style-app.7009b62b1943465b1893.css
styles/style-app.59989d04a65db76cb22d.bundle.js
styles/theme-default (247 KiB)
styles/theme-default.7009b62b1943465b1893.css
styles/theme-default.b35207d802171d413bac.bundle.js
styles/theme-mono-blue (248 KiB)
styles/theme-mono-blue.7009b62b1943465b1893.css
styles/theme-mono-blue.4a44b807af1909ccc079.bundle.js
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!node_modules/codemirror/addon/fold/foldgutter.css:
Entrypoint mini-css-extract-plugin = *
2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!node_modules/codemirror/addon/hint/show-hint.css:
Entrypoint mini-css-extract-plugin = *
2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!node_modules/react-image-crop/dist/ReactCrop.css:
Entrypoint mini-css-extract-plugin = *
2 modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/hackmd/style.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass- loader/dist/cjs.js!./src/client/styles/hackmd/style.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/hackmd/style.scss 433 bytes {0} [built]
factory:170ms building:965ms = 1135ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/style-app.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/style-app.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/style-app.scss 301 KiB {0} [built]
factory:23ms building:10797ms = 10820ms
+ 6 hidden modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/style-presentation.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/style-presentation.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/style-presentation.scss 43.5 KiB {0} [built]
factory:182ms building:7847ms = 8029ms
+ 17 hidden modules
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/antarctic.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass- loader/dist/cjs.js!./src/client/styles/scss/theme/antarctic.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/antarctic.scss 159 KiB {0} [built]
factory:181ms building:11455ms = 11636ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/christmas.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/christmas.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/christmas.scss 160 KiB {0} [built]
factory:182ms building:10867ms = 11049ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/default.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/default.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/default.scss 248 KiB {0} [built]
factory:183ms building:8533ms = 8716ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/future.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass- loader/dist/cjs.js!./src/client/styles/scss/theme/future.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/future.scss 225 KiB {0} [built]
factory:182ms building:10380ms = 10562ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/halloween.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass- loader/dist/cjs.js!./src/client/styles/scss/theme/halloween.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/halloween.scss 225 KiB {0} [built]
factory:182ms building:11093ms = 11275ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/island.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass- loader/dist/cjs.js!./src/client/styles/scss/theme/island.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/island.scss 159 KiB {0} [built]
factory:181ms building:11143ms = 11324ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/kibela.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/kibela.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/kibela.scss 166 KiB {0} [built]
factory:183ms building:10951ms = 11134ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/mono-blue.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/mono-blue.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/mono-blue.scss 249 KiB {0} [built]
factory:182ms building:10289ms = 10471ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/nature.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/nature.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/nature.scss 159 KiB {0} [built]
factory:183ms building:9755ms = 9938ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/spring.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/spring.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/spring.scss 159 KiB {0} [built]
factory:180ms building:11410ms = 11590ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--4-2!node_modules/sass-loader/dist/cjs.js!src/client/styles/scss/theme/wood.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/wood.scss] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--4-2!./node_modules/sass-loader/dist/cjs.js!./src/client/styles/scss/theme/wood.scss 160 KiB {0} [built]
factory:182ms building:11193ms = 11375ms
+ 1 hidden module
> growi@4.1.9 start /opt/growi
> npm run server:prod
> growi@4.1.9 preserver:prod /opt/growi
> npm run migrate
> growi@4.1.9 migrate /opt/growi
> npm run migrate:up
> growi@4.1.9 migrate:up /opt/growi
> migrate-mongo up -f config/migrate.js
the options [useFindAndModify] is not supported
> growi@4.1.9 server:prod /opt/growi
> env-cmd -f config/env.prod.js node src/server/app.js
(node:13880) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
[2020-10-20T05:37:56.982Z] INFO: growi:service:s2s-messaging:S2sMessagingServiceFactory/13880 on mvc: Config pub/sub server is not defined.
[2020-10-20T05:37:57.287Z] DEBUG: growi:service:PassportService/13880 on mvc: setting up serializer and deserializer
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: LocalStrategy: reset
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: LocalStrategy: setting up..
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: LocalStrategy: setup is done
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: LdapStrategy: reset
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: SamlStrategy: reset
[2020-10-20T05:37:57.288Z] DEBUG: growi:service:PassportService/13880 on mvc: OidcStrategy: reset
[2020-10-20T05:37:57.289Z] DEBUG: growi:service:PassportService/13880 on mvc: BasicStrategy: reset
[2020-10-20T05:37:57.289Z] DEBUG: growi:service:PassportService/13880 on mvc: GoogleStrategy: reset
[2020-10-20T05:37:57.289Z] DEBUG: growi:service:PassportService/13880 on mvc: GitHubStrategy: reset
[2020-10-20T05:37:57.289Z] DEBUG: growi:service:PassportService/13880 on mvc: TwitterStrategy: reset
[2020-10-20T05:37:57.290Z] INFO: growi:service:search/13880 on mvc: Initializing search delegator
[2020-10-20T05:37:57.290Z] INFO: growi:service:search/13880 on mvc: Elasticsearch (not Searchbox) is enabled
[2020-10-20T05:37:57.836Z] INFO: growi:crowi/13880 on mvc: [production] Express server is listening on port 3000
GROWI 起動直後のエラー(elasticsearch の kuromoji_tokenizer がエラーになっている)†
[2020-10-20T05:37:57.931Z] ERROR: growi/13880 on mvc:
Unhandled Rejection: Promise: Promise {
<rejected> StatusCodeError: [illegal_argument_exception] Custom Analyzer [japanese] failed to find tokenizer under name
[kuromoji_tokenizer]
at respond (/opt/growi/node_modules/elasticsearch/src/lib/transport.js:315:15)
at checkRespForFailure (/opt/growi/node_modules/elasticsearch/src/lib/transport.js:274:7)
at HttpConnector.<anonymous> (/opt/growi/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
at IncomingMessage.wrapper (/opt/growi/node_modules/lodash/lodash.js:4929:19)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1223:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
status: 400,
displayName: 'BadRequest',
path: '/growi',
query: {},
body: { error: [Object], status: 400 },
statusCode: 400,
response: '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Custom Analyzer [japanese] failed to find tokenizer under name [kuromoji_tokenizer]"}],"type":"illegal_argument_exception","reason":"Custom Analyzer [japanese] failed to find tokenizer under
name [kuromoji_tokenizer]"},"status":400}',
toString: [Function],
toJSON: [Function]
}
} Reason: StatusCodeError: [illegal_argument_exception] Custom Analyzer [japanese] failed to find tokenizer under name [kuromoji_tokenizer]
at respond (/opt/growi/node_modules/elasticsearch/src/lib/transport.js:315:15)
at checkRespForFailure (/opt/growi/node_modules/elasticsearch/src/lib/transport.js:274:7)
at HttpConnector.<anonymous> (/opt/growi/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
at IncomingMessage.wrapper (/opt/growi/node_modules/lodash/lodash.js:4929:19)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1223:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
status: 400,
displayName: 'BadRequest',
path: '/growi',
query: {},
body: {
error: {
root_cause: [Array],
type: 'illegal_argument_exception',
reason: 'Custom Analyzer [japanese] failed to find tokenizer under name [kuromoji_tokenizer]'
},
status: 400
},
statusCode: 400,
response: '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Custom Analyzer [japanese] failed to find tokenizer under name [kuromoji_tokenizer]"}],"type":"illegal_argument_exception","reason":"Custom Analyzer [japanese] failed to find tokenizer under name [kuromoji_tokenizer]"},"status":400}',
toString: [Function],
toJSON: [Function]
}
install 中のワーニング(Browserslist: caniuse-lite is outdated)に従ってモジュールを更新†
[KGB] munakata:/opt/growi$ sudo yarn upgrade caniuse-lite browserslist
yarn upgrade v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > multer-autoreap@1.0.3" has incorrect peer dependency "express@^4.16.3".
warning " > react-card-flip@1.0.10" has incorrect peer dependency "react@^16.8.6".
warning " > react-card-flip@1.0.10" has incorrect peer dependency "react-dom@^16.8.6".
warning " > @atlaskit/drawer@5.3.7" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/avatar@17.1.11" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/blanket@10.0.18" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/icon@20.1.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/item@11.0.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/drawer > @atlaskit/theme@9.5.2" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > @atlaskit/tooltip@15.2.7" has incorrect peer dependency "styled-components@^3.2.6".
warning " > @atlaskit/navigation-next@8.0.5" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > @atlaskit/spinner@12.1.7" has incorrect peer dependency "styled-components@^3.2.6".
warning "@atlaskit/navigation-next > react-beautiful-dnd@12.2.0" has incorrect peer dependency "react@^16.8.5".
warning "@atlaskit/navigation-next > react-beautiful-dnd@12.2.0" has incorrect peer dependency "react-dom@^16.8.5".
warning "@atlaskit/navigation-next > unstated@1.2.0" has unmet peer dependency "prop-types@^15.5.0".
warning "unstated > create-react-context@0.1.6" has unmet peer dependency "prop-types@^15.0.0".
warning " > bootstrap@4.5.0" has unmet peer dependency "jquery@1.9.1 - 3".
warning " > bootstrap@4.5.0" has unmet peer dependency "popper.js@^1.16.0".
warning "eslint-config-weseek > eslint-config-airbnb@17.1.0" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
warning "eslint-config-weseek > eslint-config-airbnb@17.1.0" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.1.1".
warning "eslint-config-weseek > eslint-config-airbnb > eslint-config-airbnb-base@13.1.0" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
warning "eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.17.1" has unmet peer
dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning " > react-frame-component@4.0.0" has unmet peer dependency "prop-types@^15.5.9".
warning " > styled-components@5.0.1" has unmet peer dependency "react-is@>= 16.8.0".
warning " > stylelint-config-recess-order@2.0.1" has incorrect peer dependency "stylelint@^9.9.0".
warning "stylelint-config-recess-order > stylelint-order@2.1.0" has incorrect peer dependency "stylelint@^9.10.1".
warning "swagger2openapi > better-ajv-errors@0.6.6" has unmet peer dependency "ajv@4.11.8 - 6".
[5/5] Rebuilding all packages...
success Saved lockfile.
success Saved 0 new dependencies.
Done in 7.02s.