ormprog / rails_ama

Ruby/Rails - Ask Me Anything
MIT License
2 stars 0 forks source link

Errno::EIO: Input/output error - bs_fetch:open_cache_file:read #145

Closed sadmanahmed closed 3 years ago

sadmanahmed commented 3 years ago
abir@abir:~/Ruby code/message_me_v6$ rails s
Traceback (most recent call last):
    68: from bin/rails:3:in `<main>'
    67: from bin/rails:3:in `load'
    66: from /home/abir/Ruby code/message_me_v6/bin/spring:15:in `<top (required)>'
    65: from /home/abir/Ruby code/message_me_v6/bin/spring:15:in `require'
    64: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
    63: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
    62: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
    61: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
    60: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
    59: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
    58: from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
    57: from /home/abir/Ruby code/message_me_v6/bin/rails:9:in `<top (required)>'
    56: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    55: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    54: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    53: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    52: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    51: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands.rb:18:in `<main>'
    50: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/command.rb:46:in `invoke'
    49: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/command/base.rb:69:in `perform'
    48: from /home/abir/.rvm/gems/ruby-2.6.5/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
    47: from /home/abir/.rvm/gems/ruby-2.6.5/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
    46: from /home/abir/.rvm/gems/ruby-2.6.5/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
    45: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands/server/server_command.rb:138:in `perform'
    44: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands/server/server_command.rb:138:in `tap'
    43: from /home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands/server/server_command.rb:141:in `block in perform'
    42: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
    41: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
    40: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
    39: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    38: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    37: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    36: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    35: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    34: from /home/abir/Ruby code/message_me_v6/config/application.rb:7:in `<main>'
    33: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler.rb:114:in `require'
    32: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `require'
    31: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `each'
    30: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `block in require'
    29: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `each'
    28: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
    27: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    26: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    25: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    24: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    23: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    22: from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:62:in `<main>'
    21: from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:18:in `load!'
    20: from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:54:in `configure_sass'
    19: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
    18: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
    17: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
    16: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    15: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    14: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    13: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    12: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    11: from /home/abir/.rvm/gems/ruby-2.6.5/gems/sass-3.7.4/lib/sass.rb:4:in `<main>'
    10: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
     9: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
     8: from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
     7: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
     6: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
     5: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
     4: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
     3: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
     2: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
     1: from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': Input/output error - bs_fetch:open_cache_file:read (Errno::EIO)
abir@abir:~/Ruby code/message_me_v6$ rails db:migrate
rails aborted!
Errno::EIO: Input/output error - bs_fetch:open_cache_file:read
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/sass-3.7.4/lib/sass.rb:4:in `<main>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:54:in `configure_sass'
/home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:18:in `load!'
/home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:62:in `<main>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `each'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `block in require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `each'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler.rb:114:in `require'
/home/abir/Ruby code/message_me_v6/config/application.rb:7:in `<main>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
/home/abir/Ruby code/message_me_v6/Rakefile:4:in `<main>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands/rake/rake_command.rb:22:in `block in perform'
/home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/command.rb:48:in `invoke'
/home/abir/.rvm/gems/ruby-2.6.5/gems/railties-6.0.3.5/lib/rails/commands.rb:18:in `<main>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/home/abir/Ruby code/message_me_v6/bin/rails:9:in `<top (required)>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
/home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
/home/abir/Ruby code/message_me_v6/bin/spring:15:in `require'
/home/abir/Ruby code/message_me_v6/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
(See full trace by running task with --trace)
sadmanahmed commented 3 years ago
abir@abir:~/Ruby code/message_me_v6$ ps -ef | grep resque
abir     10774  9318  0 02:52 pts/2    00:00:00 grep --color=auto resque
wasifhossain commented 3 years ago

could you retry after running

rm -rf tmp/cache/bootsnap-*
sadmanahmed commented 3 years ago
rm -rf tmp/cache/bootsnap-*

Same output... This is working fine last day. I restarted the pc ,after that this problem is showing .

abir@abir:~/Ruby code/message_me_v6$ ps -ef | grep resque
abir     14247  3851  0 10:40 pts/0    00:00:00 grep --color=auto resque
wasifhossain commented 3 years ago

is there any chance that your system became read-only :fearful:

sadmanahmed commented 3 years ago

I can delete ,create and edit anything ... restarted 2 times .. everything okay... just this app is making this error.

This is another project. I have done this just before starting this new one. Even it is working fine. image

So there maybe any other issue. Maybe I restarted the laptop while rails s is running in any terminal as the laptop hanged at that time while I restarted it as I cant do anything suddenly ,waited 10 mins then forcefully rebooted

wasifhossain commented 3 years ago

let's do the following inside your repo from the CLI

step 1:

step 2:

wasifhossain commented 3 years ago

the following line was responsible to raise the error:

https://github.com/Shopify/bootsnap/blob/master/ext/bootsnap/bootsnap.c#L476

it also confirms that bootsnap was able to open the cache file, but failed to read it

wasifhossain commented 3 years ago

afaik, Errno::EIO refers to

Input/output error; usually used for physical read or write errors

wasifhossain commented 3 years ago

Maybe I restarted the laptop while rails s is running in any terminal as the laptop hanged at that time while I restarted it as I cant do anything suddenly ,waited 10 mins then forcefully rebooted

now its becoming relevant...your disk might have got corrupted for that segment!

journalctl --verify might give some hints

sadmanahmed commented 3 years ago

let's do the following inside your repo from the CLI

step 1:

  • rm -rf tmp/cache/bootsnap-*
  • tree tmp

step 2:

  • run any rails command, e.g. rails c. then exit from there
  • tree tmp -d

Followed but same error message

sadmanahmed commented 3 years ago

Maybe I restarted the laptop while rails s is running in any terminal as the laptop hanged at that time while I restarted it as I cant do anything suddenly ,waited 10 mins then forcefully rebooted

now its becoming relevant...your disk might have got corrupted for that segment!

journalctl --verify might give some hints

Throws huge error messages

348/system@0005b7ada9df2ec5-3f3ec4225511f3f1.journal~:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b7ada9df2ec5-3f3ec4225511f3f1.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system.journal:000000 (of 16777216 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b5a4a872a3f3-3a9cbcf26d67dd15.journal~:000000 (of 25165824 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b5a4a872a3f3-3a9cbcf26d67dd15.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/user-1000@f97e7a5aceae454aa2e14745980338a4-0000000000000b35-0005b76b8327cc7a.journal:000000 (of 25165824 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/user-1000@f97e7a5aceae454aa2e14745980338a4-0000000000000b35-0005b76b8327cc7a.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005bb9f4d7a8642-65f0188c53578f49.journal~:000000 (of 41943040 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005bb9f4d7a8642-65f0188c53578f49.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/user-1000@0005b75b16d16f46-fb97562ffc737f9a.journal~:000000 (of 16777216 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/user-1000@0005b75b16d16f46-fb97562ffc737f9a.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/user-1000@0005b324b8fef5e5-1686f765466a8343.journal~:000000 (of 25165824 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/user-1000@0005b324b8fef5e5-1686f765466a8343.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b25709bee000-551ad18cbf5d14fa.journal~:000000 (of 16777216 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b25709bee000-551ad18cbf5d14fa.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b76b7f72e5ee-5b005af53fbddad6.journal~:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b76b7f72e5ee-5b005af53fbddad6.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@a40291865e3442b3a3c57e47eb390534-0000000000000001-0005b7ada9d70c8a.journal:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@a40291865e3442b3a3c57e47eb390534-0000000000000001-0005b7ada9d70c8a.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@d046c28839b8464ca5e198834875efb1-0000000000000001-0005b7d5cea281bd.journal:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@d046c28839b8464ca5e198834875efb1-0000000000000001-0005b7d5cea281bd.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@3fd9195ba75d4fadb91ba7a8d489ac84-000000000002cde0-0005b72abe946ac2.journal:000000 (of 83886080 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@3fd9195ba75d4fadb91ba7a8d489ac84-000000000002cde0-0005b72abe946ac2.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b52adda10aa6-12c31f3d15c46dd8.journal~:000000 (of 58720256 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b52adda10aa6-12c31f3d15c46dd8.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b52ae15c6cab-dbd0e9e70fc040c0.journal~:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b52ae15c6cab-dbd0e9e70fc040c0.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@62e772e2d7b3493f83e33a4602ddb253-0000000000000001-0005b76b7f65898f.journal:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@62e772e2d7b3493f83e33a4602ddb253-0000000000000001-0005b76b7f65898f.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@ffcb92f2168447c09b2b4a0a08ac41b4-0000000000000001-0005b22ecf1ea2e9.journal:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@ffcb92f2168447c09b2b4a0a08ac41b4-0000000000000001-0005b22ecf1ea2e9.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/user-1000@f97e7a5aceae454aa2e14745980338a4-0000000000000625-0005b75b16cf0cc7.journal:000000 (of 8388608 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/user-1000@f97e7a5aceae454aa2e14745980338a4-0000000000000625-0005b75b16cf0cc7.journal (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b89d02b69bba-b1460f7d92f030a7.journal~:000000 (of 16777216 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b89d02b69bba-b1460f7d92f030a7.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b8d90048bcdb-92114d65b3b2e399.journal~:000000 (of 16777216 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b8d90048bcdb-92114d65b3b2e399.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/system@0005b324b5f6e863-250ecfc64a697e94.journal~:000000 (of 25165824 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/system@0005b324b5f6e863-250ecfc64a697e94.journal~ (Read-only file system)
Failed to create data file: Read-only file system
File corruption detected at /var/log/journal/b759269443144a309659e4b94507e348/user-1000@716c35a626ec4f159ee3c9cc4a1308dd-0000000000000638-0005b5bb0eefcd53.journal:000000 (of 58720256 bytes, 0%).
FAIL: /var/log/journal/b759269443144a309659e4b94507e348/user-1000@716c35a626ec4f159ee3c9cc4a1308dd-0000000000000638-0005b5bb0eefcd53.journal (Read-only file system)
wasifhossain commented 3 years ago

let's do the following inside your repo from the CLI

step 1:

  • rm -rf tmp/cache/bootsnap-*
  • tree tmp

step 2:

  • run any rails command, e.g. rails c. then exit from there
  • tree tmp -d

Followed but same error message

could you share the output please? i didn't just mean to run those commands :smile:

wasifhossain commented 3 years ago

your journalctl --verify output is making me to suggest you to assess your disk health by some hardware experts

sadmanahmed commented 3 years ago
  • rm -rf tmp/cache/bootsnap-*
.
.
.
.
.
│   │   │   │   ├── ad2c0188c47a1d
│   │   │   │   ├── b434163b4568b6
│   │   │   │   └── bf4e811872d38e
│   │   │   ├── da
│   │   │   │   ├── 616aaec54c1ad3
│   │   │   │   ├── 9e6496480009ff
│   │   │   │   ├── e635b70beac07d
│   │   │   │   └── fc0a1f4c305ed1
│   │   │   ├── db
│   │   │   │   ├── 05af4023031813
│   │   │   │   ├── 986832e877abe7
│   │   │   │   ├── bce354c09e0b89
│   │   │   │   ├── c59bdf00097568
│   │   │   │   ├── ce54daf3e89bdf
│   │   │   │   └── d4fa026b2ab885
│   │   │   ├── dc
│   │   │   │   ├── 6fc80eeaf883f2
│   │   │   │   ├── 81ca07a37e9ef0
│   │   │   │   └── dd68236c7719a2
│   │   │   ├── dd
│   │   │   │   ├── 83a9f6eaa48532
│   │   │   │   ├── a1f1319b8d8811
│   │   │   │   ├── c209751c62f409
│   │   │   │   └── c25e96a0fffeed
│   │   │   ├── de
│   │   │   │   ├── 2cafa61fa08218
│   │   │   │   ├── 339218ccbd234f
│   │   │   │   ├── 58c62afb6f496b
│   │   │   │   ├── 61de80e318b787
│   │   │   │   ├── 64aa3a3519dd7d
│   │   │   │   ├── 65ef8cc07e0ac2
│   │   │   │   ├── 6ce48d025356e8
│   │   │   │   ├── 7eab708d915019
│   │   │   │   ├── 937f1dac01edbe
│   │   │   │   ├── 9df5559320c505
│   │   │   │   ├── c3298774d4109f
│   │   │   │   └── e49c4356891493
│   │   │   ├── df
│   │   │   │   ├── 0af054f323e72f
│   │   │   │   ├── 140c6d3674baae
│   │   │   │   ├── 29c62cefd40e4f
│   │   │   │   ├── 4d9d0bbf78f020
│   │   │   │   ├── 60f3f2432176a5
│   │   │   │   ├── 781f5e2fa91eb1
│   │   │   │   ├── 7a92d98cb5bf7b
│   │   │   │   ├── 8079b9a6f73cce
│   │   │   │   ├── 969495990e2b1d
│   │   │   │   ├── c9a86a80bcade4
│   │   │   │   ├── e2f5e18e8feb81
│   │   │   │   └── eadf2be07b3939
│   │   │   ├── e0
│   │   │   │   ├── 25194201d29799
│   │   │   │   ├── 79334731286015
│   │   │   │   ├── 9ffa91d8908a98
│   │   │   │   └── e8cb1c49b9fb37
│   │   │   ├── e1
│   │   │   │   ├── 0abdb2506ea54b
│   │   │   │   ├── 6ec473cf478e44
│   │   │   │   ├── a8cd283e8278a0
│   │   │   │   └── ed0be0401dcad6
│   │   │   ├── e2
│   │   │   │   ├── 2c2ba8cfa22347
│   │   │   │   ├── 77042ed16bd18b
│   │   │   │   ├── 771b4767cb563c
│   │   │   │   ├── 9f71e0432d2cba
│   │   │   │   ├── b39b0b66d9c004
│   │   │   │   └── d507d0d8d22d69
│   │   │   ├── e3
│   │   │   │   ├── 076c51a20876e5
│   │   │   │   ├── 0fb7172b6255d9
│   │   │   │   ├── 19b86c35d4982b
│   │   │   │   ├── 19ef7ee873e667
│   │   │   │   └── 4ee558e520bff6
│   │   │   ├── e4
│   │   │   │   ├── 15d602e08b35d8
│   │   │   │   ├── 1676cc5ff7eb3b
│   │   │   │   ├── 246bb18db5ea5a
│   │   │   │   ├── 2cbd311d823c46
│   │   │   │   ├── 3dc192081bcf6f
│   │   │   │   ├── 8f113b820e2a53
│   │   │   │   ├── c8e9d1dbf62116
│   │   │   │   ├── cfdd3417196ab5
│   │   │   │   ├── f2857a0b043a31
│   │   │   │   └── f30cf8dde4ff16
│   │   │   ├── e5
│   │   │   │   ├── 0181e0de34ac3c
│   │   │   │   ├── 6b9784ab74906c
│   │   │   │   ├── 9bde911f038b94
│   │   │   │   ├── b94dd253afd59c
│   │   │   │   └── ceb56da758c4e4
│   │   │   ├── e6
│   │   │   │   ├── 09c436fb849244
│   │   │   │   ├── 0cb5de14ee039b
│   │   │   │   ├── 23c94408228cc1
│   │   │   │   ├── 5e9cbca506ae51
│   │   │   │   ├── 8c79c0b0fa78f2
│   │   │   │   ├── 957b1118961f43
│   │   │   │   ├── b066d8f886ac65
│   │   │   │   ├── c1dfd504b5dc09
│   │   │   │   └── f275901d0b9dbe
│   │   │   ├── e7
│   │   │   │   ├── 0d7887d37d1fe4
│   │   │   │   ├── 11a6e6d1b96add
│   │   │   │   ├── 51b6a897bf4954
│   │   │   │   ├── 5764bac7287f60
│   │   │   │   ├── 68d71ed79a129b
│   │   │   │   ├── be56fb13a3e288
│   │   │   │   ├── dbb74496171308
│   │   │   │   ├── f179d8c8e0863b
│   │   │   │   └── f6482b147d5bab
│   │   │   ├── e8
│   │   │   │   ├── 063ba82c813815
│   │   │   │   ├── 2d96758ab9f5e5
│   │   │   │   ├── 52fc5373b5eb2d
│   │   │   │   ├── 548e2963192c9c
│   │   │   │   ├── 5aa04b18ef626b
│   │   │   │   ├── be322a07757b4d
│   │   │   │   ├── c4f4c81ce42808
│   │   │   │   └── ec73b2b2b105f9
│   │   │   ├── e9
│   │   │   │   ├── 423db1315fec8d
│   │   │   │   ├── 576ee862493f02
│   │   │   │   ├── 5b8ee907e2d16b
│   │   │   │   ├── 668bc6336f38cd
│   │   │   │   ├── 9d4477bd470486
│   │   │   │   └── ead359f481149a
│   │   │   ├── ea
│   │   │   │   ├── 2d55b89dd3dde9
│   │   │   │   ├── 33c7ebf5e6d5c3
│   │   │   │   ├── 4a420b9dc4a561
│   │   │   │   ├── 91582b2d4aa02c
│   │   │   │   ├── 99295f5a423105
│   │   │   │   ├── a050a293ddb70f
│   │   │   │   ├── a06b128b6ac122
│   │   │   │   ├── a8605a9c3fa7b8
│   │   │   │   └── b765b1c6c4838b
│   │   │   ├── eb
│   │   │   │   ├── 2e902ba6250730
│   │   │   │   ├── 817af064cbe332
│   │   │   │   ├── 8a3aa812ff99ba
│   │   │   │   ├── 91bc320098805f
│   │   │   │   ├── a5458b20d32b9e
│   │   │   │   ├── d3e7c986eb8d68
│   │   │   │   ├── de8050d698765e
│   │   │   │   └── ea6089e294a1b9
│   │   │   ├── ec
│   │   │   │   ├── 2382a7eeed6c0c
│   │   │   │   ├── 28463809fe2617
│   │   │   │   ├── 2e3b4e102898a8
│   │   │   │   ├── 34d84b0b3cf512
│   │   │   │   ├── 6db550ebdf2ea0
│   │   │   │   ├── 93c11fe3e7317f
│   │   │   │   ├── 952ab72cd7bdab
│   │   │   │   └── d50c47a7c1f5fe
│   │   │   ├── ed
│   │   │   │   ├── 06b94223833fc5
│   │   │   │   ├── 0a5bf2749fa545
│   │   │   │   ├── 1186671b735618
│   │   │   │   ├── 17033c0d2d8d57
│   │   │   │   ├── 5d55e72d889cd0
│   │   │   │   ├── 8617b77430b4b9
│   │   │   │   └── ec76d9f6e7c482
│   │   │   ├── ee
│   │   │   │   ├── 1bfe4f2e533a79
│   │   │   │   ├── 49c95e7bdce422
│   │   │   │   ├── 51824d4767817d
│   │   │   │   └── f2c52e4e1d1855
│   │   │   ├── ef
│   │   │   │   ├── 0b2a9e6f078d8e
│   │   │   │   ├── 5c6aa8ca1ce797
│   │   │   │   ├── 9d22bb4a04b372
│   │   │   │   ├── cde6cdffd7b14e
│   │   │   │   └── d7fa7c433a2ee7
│   │   │   ├── f0
│   │   │   │   ├── 0c268afd328f51
│   │   │   │   ├── 145c737477cc4c
│   │   │   │   ├── 651a9d7175152f
│   │   │   │   └── 83075bf6821725
│   │   │   ├── f1
│   │   │   │   ├── 1bdcc3771d6d4b
│   │   │   │   ├── 271e8c3e893acc
│   │   │   │   ├── 358e94c14b78aa
│   │   │   │   ├── 9605faba2e0574
│   │   │   │   ├── bd7e9ad6ceb8bf
│   │   │   │   ├── d83e4c8657ced6
│   │   │   │   └── f2341b257923fc
│   │   │   ├── f2
│   │   │   │   ├── 08410ab9827025
│   │   │   │   ├── 09ae68af7cddd4
│   │   │   │   ├── 60f63582382c0a
│   │   │   │   ├── 67ca6bfde6f291
│   │   │   │   ├── 6b84c8a5a55703
│   │   │   │   ├── a9620e158fa3e7
│   │   │   │   ├── aa8c50b335b136
│   │   │   │   └── f3dfa66fe86aec
│   │   │   ├── f3
│   │   │   │   ├── 0b0469fd31a929
│   │   │   │   ├── 12a5bebac8d57d
│   │   │   │   ├── 2e3b17e8533546
│   │   │   │   ├── 45613ce88e3356
│   │   │   │   ├── 69a71ae6a379c2
│   │   │   │   ├── 9e748b126bf684
│   │   │   │   └── a96939f961e5a0
│   │   │   ├── f4
│   │   │   │   ├── 1d3d3891ccb323
│   │   │   │   ├── 27f2c56abadbe8
│   │   │   │   ├── 3af9e20d40d617
│   │   │   │   ├── 689df46d2aa503
│   │   │   │   ├── 70c8d32fc87019
│   │   │   │   ├── bee52a4ad55080
│   │   │   │   ├── e0e858257b9a1c
│   │   │   │   └── ed8b3892b5e2f7
│   │   │   ├── f5
│   │   │   │   ├── 2d841284ea4562
│   │   │   │   ├── 303b395bd386b5
│   │   │   │   ├── b62bd2e97c15dc
│   │   │   │   └── c94aa2cc920d14
│   │   │   ├── f6
│   │   │   │   ├── 5f7d1b8fbd40a4
│   │   │   │   ├── 646268fd835090
│   │   │   │   ├── 674295dfc03820
│   │   │   │   ├── 9dfe4eea2b4343
│   │   │   │   ├── a91514474b17f5
│   │   │   │   ├── b4f1b4c3c46d79
│   │   │   │   ├── b5e4530128fdf5
│   │   │   │   ├── b90553d9003558
│   │   │   │   ├── e140666df520db
│   │   │   │   └── f30b6b5af5b170
│   │   │   ├── f7
│   │   │   │   ├── 2893bceb466399
│   │   │   │   ├── 94afe43c365e21
│   │   │   │   ├── a5623e7f67c35d
│   │   │   │   ├── d3e9d4cb7e3563
│   │   │   │   └── db571d9c5907ff
│   │   │   ├── f8
│   │   │   │   ├── 028ccb43059b00
│   │   │   │   ├── 2edea3ee3b3023
│   │   │   │   ├── 36c9546e5f5e0a
│   │   │   │   ├── 6402688c5e646f
│   │   │   │   ├── 7193f8fcf8e536
│   │   │   │   ├── 90dec016d4b401
│   │   │   │   ├── b3221de6844ed1
│   │   │   │   ├── d2d2cfb04eef12
│   │   │   │   ├── dc909d1bed3c84
│   │   │   │   └── e30f67ab53060e
│   │   │   ├── f9
│   │   │   │   ├── 4f0f5a9d49103a
│   │   │   │   ├── 755ad3ab310653
│   │   │   │   ├── 8220808b92d05f
│   │   │   │   └── f04d458b779845
│   │   │   ├── fa
│   │   │   │   ├── 3316d4319a9429
│   │   │   │   ├── 4226e6f23cf0b7
│   │   │   │   ├── 53e0d9f6267c4a
│   │   │   │   ├── 5b919b2ffdb80d
│   │   │   │   ├── 85b7c7de34c280
│   │   │   │   ├── c16e58f9e1ff53
│   │   │   │   └── dcc26e388faffc
│   │   │   ├── fb
│   │   │   │   ├── 263abc275ea603
│   │   │   │   ├── 88540141c52784
│   │   │   │   ├── a67680f65a1ace
│   │   │   │   └── f386c032c9c988
│   │   │   ├── fc
│   │   │   │   ├── 4f823a67db5e54
│   │   │   │   ├── 60027bb4b7d36d
│   │   │   │   ├── 6b4443b9cfb30f
│   │   │   │   ├── 96985cac5dfafc
│   │   │   │   ├── a1b3d271c7179c
│   │   │   │   └── fe46435c5dc3e9
│   │   │   ├── fd
│   │   │   │   ├── 0947db6a2f72a5
│   │   │   │   ├── 0c9387374fcfc6
│   │   │   │   ├── 1a0822230d1de8
│   │   │   │   ├── 1cb05bf808e32d
│   │   │   │   ├── 25d5c27a2dcf4f
│   │   │   │   ├── 3014984822bf05
│   │   │   │   ├── 8cad28b0e59519
│   │   │   │   └── f9ff45aa18a9a9
│   │   │   ├── fe
│   │   │   │   ├── 006061ce1d2249
│   │   │   │   ├── 18b31922be8029
│   │   │   │   ├── 190b014bd6d056
│   │   │   │   ├── 2e558da017a561
│   │   │   │   ├── 2eaa0298297c72
│   │   │   │   ├── 7ef666665d566c
│   │   │   │   ├── c2fdf34621bca5
│   │   │   │   ├── d67cabb41a3ed3
│   │   │   │   └── f8f8da0a23be73
│   │   │   └── ff
│   │   │       ├── 2762ed8151d261
│   │   │       ├── 2cece24c5ee8aa
│   │   │       ├── 7dd59d0e139dcb
│   │   │       ├── b92d87e542c537
│   │   │       ├── e3e79fd020f274
│   │   │       └── ea1ec028449b0c
│   │   └── load-path-cache
│   └── webpacker
│       ├── babel-loader-node-modules
│       │   ├── 02e6ce3f09e5f45338bc6e3cfd5b4f18.json
│       │   ├── 5cd63b18e4fffc9840ff569f35fea882.json
│       │   ├── 66ec72bb624b5c599a40c4591d25704a.json
│       │   ├── 7c2708492ff1c02d5a242d0cb400afaf.json
│       │   ├── c881532de8a6d13bd4d55802f9c2501f.json
│       │   ├── e32c0cde295e3e0df73d1533d9a180ff.json
│       │   └── eaad9c42c539e68d67081d392fc52981.json
│       └── last-compilation-digest-development
├── development_secret.txt
├── pids
├── restart.txt
├── sockets
└── storage

428 directories, 2082 files
abir@abir:~/Ruby code/message_me_v6$ rails c
/home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': Input/output error - bs_fetch:open_cache_file:read (Errno::EIO)
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/sass-3.7.4/lib/sass.rb:4:in `<main>'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:54:in `configure_sass'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:18:in `load!'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/semantic-ui-sass-2.4.2.0/lib/semantic-ui-sass.rb:62:in `<main>'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `each'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in `block in require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `each'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/bundler-2.0.2/lib/bundler.rb:114:in `require'
    from /home/abir/Ruby code/message_me_v6/config/application.rb:7:in `<top (required)>'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:92:in `require'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:92:in `preload'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:157:in `serve'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:145:in `block in run'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:139:in `loop'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application.rb:139:in `run'
    from /home/abir/.rvm/gems/ruby-2.6.5/gems/spring-2.1.1/lib/spring/application/boot.rb:19:in `<top (required)>'
    from /home/abir/.rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/abir/.rvm/rubies/ruby-2.6.5/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from -e:1:in `<main>'
abir@abir:~/Ruby code/message_me_v6$ tree tmp -d
tmp
├── cache
│   ├── assets
│   │   └── sprockets
│   │       └── v4.0.0
│   │           ├── 0e
│   │           ├── 0Q
│   │           ├── 2O
│   │           ├── 3-
│   │           ├── -4
│   │           ├── 44
│   │           ├── 45
│   │           ├── 4b
│   │           ├── 4D
│   │           ├── 4u
│   │           ├── 4w
│   │           ├── 5B
│   │           ├── 5e
│   │           ├── 5L
│   │           ├── 69
│   │           ├── 6t
│   │           ├── 7d
│   │           ├── 7o
│   │           ├── 81
│   │           ├── 87
│   │           ├── 8S
│   │           ├── 92
│   │           ├── 9e
│   │           ├── 9E
│   │           ├── 9f
│   │           ├── 9k
│   │           ├── 9K
│   │           ├── Ay
│   │           ├── AY
│   │           ├── B5
│   │           ├── bG
│   │           ├── Bl
│   │           ├── Bp
│   │           ├── bt
│   │           ├── c1
│   │           ├── Cc
│   │           ├── CS
│   │           ├── Ct
│   │           ├── d2
│   │           ├── d3
│   │           ├── d6
│   │           ├── db
│   │           ├── DR
│   │           ├── dT
│   │           ├── dX
│   │           ├── E9
│   │           ├── EL
│   │           ├── EQ
│   │           ├── eU
│   │           ├── eX
│   │           ├── F4
│   │           ├── f6
│   │           ├── f7
│   │           ├── FD
│   │           ├── FE
│   │           ├── fK
│   │           ├── fQ
│   │           ├── fv
│   │           ├── g_
│   │           ├── g3
│   │           ├── Gd
│   │           ├── Gk
│   │           ├── gO
│   │           ├── gt
│   │           ├── GZ
│   │           ├── H_
│   │           ├── H-
│   │           ├── hi
│   │           ├── HP
│   │           ├── ht
│   │           ├── hW
│   │           ├── HX
│   │           ├── hZ
│   │           ├── i-
│   │           ├── I1
│   │           ├── ii
│   │           ├── iO
│   │           ├── Iz
│   │           ├── j_
│   │           ├── J0
│   │           ├── J2
│   │           ├── j7
│   │           ├── jL
│   │           ├── jo
│   │           ├── kc
│   │           ├── Kc
│   │           ├── kf
│   │           ├── kg
│   │           ├── KK
│   │           ├── Kn
│   │           ├── kQ
│   │           ├── _L
│   │           ├── l2
│   │           ├── L2
│   │           ├── LA
│   │           ├── Lc
│   │           ├── lD
│   │           ├── le
│   │           ├── LI
│   │           ├── Lm
│   │           ├── LP
│   │           ├── ml
│   │           ├── mO
│   │           ├── N_
│   │           ├── n3
│   │           ├── ne
│   │           ├── Ne
│   │           ├── Ng
│   │           ├── nP
│   │           ├── O9
│   │           ├── og
│   │           ├── OJ
│   │           ├── oK
│   │           ├── ov
│   │           ├── Pg
│   │           ├── pi
│   │           ├── Pp
│   │           ├── pq
│   │           ├── Pq
│   │           ├── q0
│   │           ├── Q9
│   │           ├── Qf
│   │           ├── QG
│   │           ├── QK
│   │           ├── QS
│   │           ├── qy
│   │           ├── rq
│   │           ├── S5
│   │           ├── SQ
│   │           ├── St
│   │           ├── SW
│   │           ├── sz
│   │           ├── t-
│   │           ├── Tp
│   │           ├── TT
│   │           ├── tW
│   │           ├── tx
│   │           ├── ui
│   │           ├── uL
│   │           ├── Um
│   │           ├── uw
│   │           ├── V1
│   │           ├── Vi
│   │           ├── vr
│   │           ├── Vs
│   │           ├── w-
│   │           ├── w0
│   │           ├── wS
│   │           ├── wy
│   │           ├── xh
│   │           ├── yD
│   │           ├── YD
│   │           ├── yL
│   │           ├── ym
│   │           ├── Ys
│   │           ├── yX
│   │           ├── Z7
│   │           ├── ze
│   │           ├── ZH
│   │           ├── zN
│   │           └── zZ
│   ├── bootsnap
│   │   └── compile-cache
│   │       ├── 00
│   │       ├── 01
│   │       ├── 02
│   │       ├── 03
│   │       ├── 04
│   │       ├── 05
│   │       ├── 06
│   │       ├── 07
│   │       ├── 08
│   │       ├── 09
│   │       ├── 0a
│   │       ├── 0b
│   │       ├── 0c
│   │       ├── 0d
│   │       ├── 0e
│   │       ├── 0f
│   │       ├── 10
│   │       ├── 11
│   │       ├── 12
│   │       ├── 13
│   │       ├── 14
│   │       ├── 15
│   │       ├── 16
│   │       ├── 17
│   │       ├── 18
│   │       ├── 19
│   │       ├── 1a
│   │       ├── 1b
│   │       ├── 1c
│   │       ├── 1d
│   │       ├── 1e
│   │       ├── 1f
│   │       ├── 20
│   │       ├── 21
│   │       ├── 22
│   │       ├── 23
│   │       ├── 24
│   │       ├── 25
│   │       ├── 26
│   │       ├── 27
│   │       ├── 28
│   │       ├── 29
│   │       ├── 2a
│   │       ├── 2b
│   │       ├── 2c
│   │       ├── 2d
│   │       ├── 2e
│   │       ├── 2f
│   │       ├── 30
│   │       ├── 31
│   │       ├── 32
│   │       ├── 33
│   │       ├── 34
│   │       ├── 35
│   │       ├── 36
│   │       ├── 37
│   │       ├── 38
│   │       ├── 39
│   │       ├── 3a
│   │       ├── 3b
│   │       ├── 3c
│   │       ├── 3d
│   │       ├── 3e
│   │       ├── 3f
│   │       ├── 40
│   │       ├── 41
│   │       ├── 42
│   │       ├── 43
│   │       ├── 44
│   │       ├── 45
│   │       ├── 46
│   │       ├── 47
│   │       ├── 48
│   │       ├── 49
│   │       ├── 4a
│   │       ├── 4b
│   │       ├── 4c
│   │       ├── 4d
│   │       ├── 4e
│   │       ├── 4f
│   │       ├── 50
│   │       ├── 51
│   │       ├── 52
│   │       ├── 53
│   │       ├── 54
│   │       ├── 55
│   │       ├── 56
│   │       ├── 57
│   │       ├── 58
│   │       ├── 59
│   │       ├── 5a
│   │       ├── 5b
│   │       ├── 5c
│   │       ├── 5d
│   │       ├── 5e
│   │       ├── 5f
│   │       ├── 60
│   │       ├── 61
│   │       ├── 62
│   │       ├── 63
│   │       ├── 64
│   │       ├── 65
│   │       ├── 66
│   │       ├── 67
│   │       ├── 68
│   │       ├── 69
│   │       ├── 6a
│   │       ├── 6b
│   │       ├── 6c
│   │       ├── 6d
│   │       ├── 6e
│   │       ├── 6f
│   │       ├── 70
│   │       ├── 71
│   │       ├── 72
│   │       ├── 73
│   │       ├── 74
│   │       ├── 75
│   │       ├── 76
│   │       ├── 77
│   │       ├── 78
│   │       ├── 79
│   │       ├── 7a
│   │       ├── 7b
│   │       ├── 7c
│   │       ├── 7d
│   │       ├── 7e
│   │       ├── 7f
│   │       ├── 80
│   │       ├── 81
│   │       ├── 82
│   │       ├── 83
│   │       ├── 84
│   │       ├── 85
│   │       ├── 86
│   │       ├── 87
│   │       ├── 88
│   │       ├── 89
│   │       ├── 8a
│   │       ├── 8b
│   │       ├── 8c
│   │       ├── 8d
│   │       ├── 8e
│   │       ├── 8f
│   │       ├── 90
│   │       ├── 91
│   │       ├── 92
│   │       ├── 93
│   │       ├── 94
│   │       ├── 95
│   │       ├── 96
│   │       ├── 97
│   │       ├── 98
│   │       ├── 99
│   │       ├── 9a
│   │       ├── 9b
│   │       ├── 9c
│   │       ├── 9d
│   │       ├── 9e
│   │       ├── 9f
│   │       ├── a0
│   │       ├── a1
│   │       ├── a2
│   │       ├── a3
│   │       ├── a4
│   │       ├── a5
│   │       ├── a6
│   │       ├── a7
│   │       ├── a8
│   │       ├── a9
│   │       ├── aa
│   │       ├── ab
│   │       ├── ac
│   │       ├── ad
│   │       ├── ae
│   │       ├── af
│   │       ├── b0
│   │       ├── b1
│   │       ├── b2
│   │       ├── b3
│   │       ├── b4
│   │       ├── b5
│   │       ├── b6
│   │       ├── b7
│   │       ├── b8
│   │       ├── b9
│   │       ├── ba
│   │       ├── bb
│   │       ├── bc
│   │       ├── bd
│   │       ├── be
│   │       ├── bf
│   │       ├── c0
│   │       ├── c1
│   │       ├── c2
│   │       ├── c3
│   │       ├── c4
│   │       ├── c5
│   │       ├── c6
│   │       ├── c7
│   │       ├── c8
│   │       ├── c9
│   │       ├── ca
│   │       ├── cb
│   │       ├── cc
│   │       ├── cd
│   │       ├── ce
│   │       ├── cf
│   │       ├── d0
│   │       ├── d1
│   │       ├── d2
│   │       ├── d3
│   │       ├── d4
│   │       ├── d5
│   │       ├── d6
│   │       ├── d7
│   │       ├── d8
│   │       ├── d9
│   │       ├── da
│   │       ├── db
│   │       ├── dc
│   │       ├── dd
│   │       ├── de
│   │       ├── df
│   │       ├── e0
│   │       ├── e1
│   │       ├── e2
│   │       ├── e3
│   │       ├── e4
│   │       ├── e5
│   │       ├── e6
│   │       ├── e7
│   │       ├── e8
│   │       ├── e9
│   │       ├── ea
│   │       ├── eb
│   │       ├── ec
│   │       ├── ed
│   │       ├── ee
│   │       ├── ef
│   │       ├── f0
│   │       ├── f1
│   │       ├── f2
│   │       ├── f3
│   │       ├── f4
│   │       ├── f5
│   │       ├── f6
│   │       ├── f7
│   │       ├── f8
│   │       ├── f9
│   │       ├── fa
│   │       ├── fb
│   │       ├── fc
│   │       ├── fd
│   │       ├── fe
│   │       └── ff
│   └── webpacker
│       └── babel-loader-node-modules
├── pids
├── sockets
└── storage
wasifhossain commented 3 years ago

if you just follow step 1 from https://github.com/ormprog/rails_ama/issues/145#issuecomment-782814981, could you share the output again

(please include the line too that shows the command that you ran)

sadmanahmed commented 3 years ago

if you just follow step 1 from #145 (comment), could you share the output again

(please include the line too that shows the command that you ran)

actually it never gave any output that is why I skipped that

abir@abir:~/Ruby code/message_me_v6$ rm -rf tmp/cache/bootsnap-*
abir@abir:~/Ruby code/message_me_v6$ 
wasifhossain commented 3 years ago

alright, now we know that it was all about your corrupted disk :smile: