Comments (3)
I have the same issue. To get to the bottom of the problem I opened the Browser Console and when I click on the button this message appears:
XHRPOST http://localhost:3000/api/v1/auth/sso/check [HTTP/1.1 500 Internal Server Error 16ms]
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data`
The same problem seems to exist on the password reset page, when something is entered here, nothing changes on the website and the same error appears in the browser console:
XHRPOST http://localhost:3000/api/v1/auth/password-reset [HTTP/1.1 500 Internal Server Error 7ms]
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
from peppermint.
After debugging the issue, I encountered the following error in the logs :
docker logs peppermint
Error: P1000: Authentication failed against database server at 'peppermint_postgres', the provided database credentials for 'peppermint' are not valid.
Additionally, I discovered that entering the container's bash and installing lsof
docker exec -it peppermint bash
apt update && apt install lsof
lsof -i
only the port 3000 was active, not the expected port 5003,
It turned out that the root cause was related to the usage of special characters in the password of docker-compose.yml without proper escaping. Even when attempting to recreate the container, the old credentials seemed to persist.
I resolved the issue by performing the following steps:
It's important to note that this command is suitable if only the peppermint container is running in Docker. If other containers are running, it will remove them as well.
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
docker volume rm $(docker volume ls -q)
docker builder prune
I hope this information proves helpful to others facing a similar issue.
from peppermint.
weird i'll close for now but i'll see if i can add some proofing to this
from peppermint.
Related Issues (20)
- Possibility to categorize tickets
- Email queue, IMAP issue parsing emails, EmailText.split("\n"); HOT 2
- ContainerConfig HOT 4
- next & master inline
- Required minimum of 1 administrator
- Typo in Admin Settings > Email Queues
- OAuth 2.0 support for IMAP, SMTP client protocols in Exchange Online HOT 1
- Fix email subject for status email
- Editing Notebooks HOT 1
- Ticket Label UI issues HOT 1
- Display total time spent on ticket
- Edit & delete comments and time entries HOT 1
- UI on Mobile HOT 3
- Email Logs
- Blank Sender in send Mails HOT 1
- test
- test test
- sub issue
- Dashboard: Open, Completed, and Unassigned counts remain zero HOT 4
- Possiblity to add custom fields
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 peppermint.