質問編集履歴
1
入力した内容が反映されなかったので入力し直し
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Docker 20.10.11
|
6
6
|
|
7
|
-
|
7
|
+
Rails 6.0.3
|
8
8
|
|
9
9
|
Bootstrap 5.0.3
|
10
10
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
docker-compise
|
14
14
|
|
15
|
-
|
15
|
+
web,db,nginxの3つのコンテナ
|
16
16
|
|
17
17
|
|
18
18
|
|
@@ -26,8 +26,104 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
+
bootstrapでアコーディオン機能を実装してたところなので、javascriptあたりの問題?
|
30
|
+
|
31
|
+
設定は何もいじってないけど、エラーページすら表示されないってことはサーバーに問題ありそう?
|
32
|
+
|
33
|
+
|
34
|
+
|
29
35
|
### 確認したこと
|
30
36
|
|
31
37
|
- docker-compose ps
|
32
38
|
|
33
39
|
dockerのコンテナが落ちたのかと思ったので確認
|
40
|
+
|
41
|
+
コンテナ3つともrunnningで問題なさげ
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
- unicorn.log
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
- - [25/Dec/2021:18:23:16 +0900] "GET / HTTP/1.1" 200 - 0.8791
|
50
|
+
|
51
|
+
- - [25/Dec/2021:18:23:16 +0900] "GET /packs/js/application-e4f3af980e90a0e7865b.js HTTP/1.1" 304 - 0.1326
|
52
|
+
|
53
|
+
E, [2021-12-25T18:24:22.516454 #14] ERROR -- : worker=1 PID:66 timeout (16s > 15s), killing
|
54
|
+
|
55
|
+
E, [2021-12-25T18:24:22.531940 #14] ERROR -- : reaped #<Process::Status: pid 66 SIGKILL (signal 9)> worker=1
|
56
|
+
|
57
|
+
E, [2021-12-25T18:24:22.533485 #14] ERROR -- : worker=0 PID:64 timeout (16s > 15s), killing
|
58
|
+
|
59
|
+
E, [2021-12-25T18:24:22.547971 #14] ERROR -- : reaped #<Process::Status: pid 64 SIGKILL (signal 9)> worker=0
|
60
|
+
|
61
|
+
I, [2021-12-25T18:24:22.549615 #113] INFO -- : worker=1 ready
|
62
|
+
|
63
|
+
I, [2021-12-25T18:24:22.558785 #115] INFO -- : worker=0 ready
|
64
|
+
|
65
|
+
E, [2021-12-25T18:24:38.536347 #14] ERROR -- : worker=1 PID:113 timeout (16s > 15s), killing
|
66
|
+
|
67
|
+
E, [2021-12-25T18:24:38.547398 #14] ERROR -- : reaped #<Process::Status: pid 113 SIGKILL (signal 9)> worker=1
|
68
|
+
|
69
|
+
I, [2021-12-25T18:24:38.556827 #157] INFO -- : worker=1 ready
|
70
|
+
|
71
|
+
E, [2021-12-25T18:24:55.570538 #14] ERROR -- : worker=0 PID:115 timeout (16s > 15s)
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
以下、無限ループ
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
### 試したこと
|
80
|
+
|
81
|
+
```
|
82
|
+
|
83
|
+
$ rails webpacker:compile
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
### 結果
|
88
|
+
|
89
|
+
```
|
90
|
+
|
91
|
+
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
92
|
+
|
93
|
+
Entrypoints:
|
94
|
+
|
95
|
+
application (322 KiB)
|
96
|
+
|
97
|
+
css/application-f8a353ce.css
|
98
|
+
|
99
|
+
js/application-e401f9867b5e50603d69.js
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
WARNING in webpack performance recommendations:
|
106
|
+
|
107
|
+
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
|
108
|
+
|
109
|
+
For more info visit https://webpack.js.org/guides/code-splitting/
|
110
|
+
|
111
|
+
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--7-1!node_modules/postcss-loader/src/index.js??ref--7-2!node_modules/sass-loader/dist/cjs.js??ref--7-3!app/javascript/stylesheets/application.scss:
|
112
|
+
|
113
|
+
Entrypoint mini-css-extract-plugin = *
|
114
|
+
|
115
|
+
[0] ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??ref--7-2!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./app/javascript/stylesheets/application.scss 640 KiB {0} [built]
|
116
|
+
|
117
|
+
+ 1 hidden module
|
118
|
+
|
119
|
+
```
|
120
|
+
|
121
|
+
警告が表示された
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
ブラウザではcssのついてないテキストが表示された
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
原因と解決策を知りたいです。確認すべき点なども教えていただきたいです
|