Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] User avatar stops working after reboot #1812

Closed
ch0wm3in opened this issue Mar 4, 2021 · 1 comment
Closed

[Bug] User avatar stops working after reboot #1812

ch0wm3in opened this issue Mar 4, 2021 · 1 comment
Labels
bug TheHive4 TheHive4 related issues

Comments

@ch0wm3in
Copy link

ch0wm3in commented Mar 4, 2021

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu 20.04 ...
OS version (client) Windows server 2016 ...
TheHive version / git hash 4.0.5.1, 9a530bc
Package Type DEB
Browser type & version Chrome, Firefox
Backend Cassandra

Problem Description

After reboot of the hive system, where both frontend and backend is hosted. User avatar pictures disappear.
Browser asks for https://hiveurl/api/v1/user/~someid/avatar/someHashIGuess
Api responds with {"type":"NotFoundError","message":"user ~someID has no avatar"}

I have tried to see if i could reproduce the problem by just restarting either thehive or cassandra service, but this problem only happens when the system is rebooted as a whole, suspecting the avatar part to be part of a tmpfs.

Steps to Reproduce

  1. Upload picture to some user.
  2. Reboot system
  3. Picture is no longer available.
@ch0wm3in ch0wm3in added TheHive4 TheHive4 related issues bug labels Mar 4, 2021
@ch0wm3in
Copy link
Author

ch0wm3in commented Mar 4, 2021

This bug can be closed, it relates to #1244
We followed the documentation "pre" this fix, and therefor attacments was stored in the /tmp/scalligraph and wiped on reboot.

@ch0wm3in ch0wm3in closed this as completed Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

1 participant