質問編集履歴

1

エラー文の情報の追加

2020/07/13 01:54

投稿

divclass123
divclass123

スコア35

test CHANGED
File without changes
test CHANGED
@@ -1,5 +1,177 @@
1
- AWSのubuntuでrails sやrails g model User name:string email:stringを実行したところNo space left on device@何ちゃらかんちゃらと長いエラーが出ました。
1
+ railsは6.0.3、rubyは2.6.3でAWSのubuntuでrails sやrails g model User name:string email:stringを実行したところ> Booting Puma
2
+
3
+ => Rails 6.0.3 application starting in development
4
+
5
+ => Run `rails server --help` for more startup options
6
+
7
+ Exiting
8
+
9
+ Traceback (most recent call last):
10
+
11
+ 119: from bin/rails:3:in `<main>'
12
+
13
+ 118: from bin/rails:3:in `load'
14
+
15
+ 117: from /home/ubuntu/environment/sample_app/bin/spring:15:in `<top (required)>'
16
+
17
+ 116: from /home/ubuntu/environment/sample_app/bin/spring:15:in `require'
18
+
19
+ 115: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
20
+
21
+ 109: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-
22
+
23
+ 103: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
24
+
25
+ 102: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-6.0.3/lib/rails/command.rb:46:in `invoke'
26
+
27
+ 97: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/command/base.rb:69:in `perform'
28
+
29
+ 96: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
30
+
31
+ 95: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
32
+
33
+ 94: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
34
+
35
+ 93: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/commands/server/server_command.rb:138:in `perform'
36
+
37
+ 92: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/commands/server/server_command.rb:138:in `tap'
38
+
39
+ 91: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
40
+
41
+ 90: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/commands/server/server_command.rb:37:in `start'
42
+
43
+ 89: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
44
+
45
+ 88: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
46
+
47
+ 87: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
48
+
49
+ 86: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
50
+
51
+ 85: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
52
+
53
+ 84: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
54
+
55
+ 83: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
56
+
57
+ 82: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
58
+
59
+ 81: from config.ru:3:in `block in <main>'
60
+
61
+ 80: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
62
+
63
+ 79: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:324:in `require'
64
+
65
+ 78: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:291:in `load_dependency'
66
+
67
+ 77: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:324:in `block in require'
68
+
69
+ 76: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/zeitwerk-2.3.1/lib/zeitwerk/kernel.rb:34:in `require'
70
+
71
+ 75: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
72
+
73
+ 74: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
74
+
75
+ 73: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
76
+
77
+ 72: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
78
+
79
+ 71: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
80
+
81
+ 70: from /home/ubuntu/environment/sample_app/config/environment.rb:5:in `<main>'
82
+
83
+ 69: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/application.rb:363:in `initialize!'
84
+
85
+ 68: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:60:in `run_initializers'
86
+
87
+ 67: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
88
+
89
+ 66: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
90
+
91
+ 65: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
92
+
93
+ 64: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
94
+
95
+ 63: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
96
+
97
+ 62: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
98
+
99
+ 61: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
100
+
101
+ 60: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `call'
102
+
103
+ 59: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `tsort_each_child'
104
+
105
+ 58: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `each'
106
+
107
+ 57: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
108
+
109
+ 56: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
110
+
111
+ 55: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `call'
112
+
113
+ 54: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `tsort_each_child'
114
+
115
+ 53: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `each'
116
+
117
+ 52: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
118
+
119
+ 51: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
120
+
121
+ 50: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `call'
122
+
123
+ 49: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `tsort_each_child'
124
+
125
+ 48: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `each'
126
+
127
+ 47: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
128
+
129
+ 46: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
130
+
131
+ 45: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `call'
132
+
133
+ 44: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `tsort_each_child'
134
+
135
+ 43: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `each'
136
+
137
+ 42: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
138
+
139
+ 41: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
140
+
141
+ 40: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `call'
142
+
143
+ 39: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `tsort_each_child'
144
+
145
+ 38: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/railties-6.0.3/lib/rails/initializable.rb:50:in `each'
146
+
147
+ 37: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
148
+
149
+ 36: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
150
+
151
+
152
+
153
+ <<中略>>
154
+
155
+ /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/store.rb:82:in `binwrite': No space left on device @ io_write - /home/ubuntu/environment/sample_app/tmp/cache/bootsnap-load-path-cache.3045.69853.tmp (Errno::ENOSPC)と長いエラーが出ました。
2
156
 
3
157
  awsのコーディング画面にも Your environment is running out of quota. Please make some free spaceと警告がでます。
4
158
 
159
+ またターミナルの初期画面にもerror: failed to write new configuration file /home/ubuntu/.gitconfig.lock
160
+
161
+
162
+
163
+ ┌──────────────────────────────────────────────────────────┐
164
+
165
+ │ npm update check failed │
166
+
167
+ │ Try running with sudo or get access │
168
+
169
+ │ to the local update config store via │
170
+
171
+ │ sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config │
172
+
173
+ └──────────────────────────────────────────────────────────┘
174
+
175
+ と出ます。
176
+
5
177
  私は初心者なので様々な記事を見ても何かしらの容量が足りなくて起きてる。としか状況把握できていません。