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
Attachments not working, can't upload #58
Comments
That's strange, I use attachments with the docker image and they work for me. The logs are simply printed to the console, so they should appear in the docker container log. If successful it would show something like this (with different IDs):
If the request is made but there is an error, an error message or a panic should appear after the If there aren't any logs mentioning attachments, that may mean the web-vault is not making the requests for some reason. In that case the web browser's network view (in development tools) might tell us why. |
As I was going through the logs, I noticed that it works correctly from firefox and chrome on my Windows machine (I was trying on my Linux machine before). I updated to the latest versions on linux and restarted and now it works correctly. Thanks for your help. As a side note, it would be nice to have the logs sent to a file rather than the console, that would make it easier to debug and also allow people to use a logging system like ELK to potentially track metrics. This issue is closed unless you want to leave it open to potentially add a log file feature. |
The current logging is due to the web framework we use, Rocket. At the moment Rocket doen't support configuring the logging, but I know it's in the roadmap for future versions. I'll close this issue now, and open another one for the log-to-file feature. |
As a side note and perhaps workaround for @laxmanpradhan you can obviously redirect the standard output to file. In linux the usual If you're running the server as service using Last but not least, if you're running this in a docker container, you can configure docker to send the stdout to a file or even to ELK if you want. Hopefully one of the solutions work for you. |
Trying to upload an attachment to a vault item by creating a test vault item called attachment, then click on the gear button next to it and select attachment. I have tried various photos and text files, large, small and even a 0 byte text file. The save button just spins and the file never gets attached. I have to cancel the dialogue after 5 minutes.
I am running v1.27.0 in an unraid docker. I did not set a different path for the attachments, instead I have the default path as described here: https://hub.docker.com/r/mprasil/bitwarden/ .
The bitwarden sqlite file as well as the key files are all correctly in the data folder as configured.
Docker settings in unraid:
Is there a log or something I can upload? The docker container log doesn't show any indication that a file upload was attempted and I can't find any other log files.
Note, I am doing this over the local lan (http://192.168.1.31:90), the connection is unencrypted and there is no reverse proxy that may be interfering.
The text was updated successfully, but these errors were encountered: