Comments (12)
Do this happen only for the newest version?
from hemmelig.app.
I was running the exact same configuration with the previous release and didn't see this issue there.
from hemmelig.app.
I am quite not sure why this is happening to you. Tried to upgrade my own instance to the latest release without any issue, 🤔
from hemmelig.app.
But did you have the same env variables for creating the root user as well?
from hemmelig.app.
Yes, I never change those. But that user will only be created on the first run. Not each time you restart / start the container. As long as the database is mounted correctly
from hemmelig.app.
I can pretty much force the error by adding the env values back and restart the container. Can we get additional logs to debug this?
from hemmelig.app.
Sure. Can you open a PR and add the logs you need?
from hemmelig.app.
I have no clue how to debug this. I was asking if we can enable some additional logging, so one of the devs can look into it.
from hemmelig.app.
There are no more logs to enable. It has to be manually added to the code. What devs? This is an open source tool mainly maintained by me. Occasionally people are contributing to the project.
from hemmelig.app.
Did you try to move the database and let the instance create a fresh one? To verify if that solves the issue. This seems to be not related to the application itself, but the data saved to the database.
from hemmelig.app.
I managed to reproduce this when testing locally:
- I was signed in with the default user and password
- I fetched the production database (which does not contain that user)
- Tried to create a secret.
What happens on 3. is that when you try to create a secret, and you are signed in with a user that does not exist in the database, then it tries to attach your user to the secret -> to the database. The matching will fail.
from hemmelig.app.
I just tested it with the latest version and the issue is gone now. You might be correct with your assumption, as I had trouble with the database and kept recreating it while still being signed in with the old version. Good catch and thanks!
from hemmelig.app.
Related Issues (20)
- ZAP Full Scan Report
- [OTHER] Problems logging in HOT 6
- [OTHER] App Customization HOT 1
- Blank "public pastes" page when no items available HOT 3
- Restricting to specific IP Adress not working in behind Traefik proxy HOT 5
- documentation for the API HOT 1
- Domain restriction HOT 1
- It seems that the I18N for Simplified Chinese(zh-CN) is no longer working HOT 1
- Cannot find package '@vitejs/plugin-react HOT 2
- Sign in succeeds, then "a is null" for Instance settings HOT 3
- [FEATURE] Automatically convert URIs into clickable links
- <Security> Password length is "public" HOT 1
- Docker container marked as unhealthy as healthcheck fails HOT 5
- Minified React error #301 HOT 1
- Sign out is not working HOT 2
- [FEATURE] UI Enhancements
- Button titles are cut off
- [FEATURE] Always show formatting toolbar
- Unable to Find Default Admin Credentials After Docker Compose Installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hemmelig.app.