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]: Can't Login After Upgrade From 0.20.2 #4542

Closed
MrMYHuang opened this issue Apr 24, 2024 · 5 comments
Closed

[BUG]: Can't Login After Upgrade From 0.20.2 #4542

MrMYHuang opened this issue Apr 24, 2024 · 5 comments

Comments

@MrMYHuang
Copy link
Contributor

Describe the bug
After more study for the same issue in #4528, I find the key point of the issue: the login password does not work anymore! I repeat the steps to reproduce the issue in the following:

I set up my activepieces in a docker-compose.yml file, like this:

    activepieces:
      image: activepieces/activepieces:0.20.2
      privileged: true
      ports:
        - 8892:80
      volumes:
        - ~/.activepieces:/root/.activepieces
      environment:
        - AP_QUEUE_MODE=MEMORY
        - AP_EXECUTION_MODE=SANDBOXED
        - AP_SIGN_UP_ENABLED=true
        - AP_DB_TYPE=SQLITE3
        - AP_TRIGGER_DEFAULT_POLL_INTERVAL=1
        - AP_CLOUD_AUTH_ENABLED=true
        - AP_WEBHOOK_TIMEOUT_SECONDS=300
        - AP_FRONTEND_URL=https://activepieces.example.com
      networks:
        - backend

After I update the activepieces version from 0.20.2 to a higher version (e.g., 0.21.0 or 0.25.1) in docker-compose.yml, then I execute docker-compose up -d, activepieces, it starts successfully. But I couldn't login my account, the webpage said "Invalid email or password."

Actually, on my one Ubuntu Linux ARM64 machine, I tried to sign up another new account with updated activepieces, and copied its encrypted password to my old account's password, for example:

sudo sqlite3 ~/.activepieces/database.sqlite
sqlite> select * from user;
sqlite> update user set password='xxxxx' where email='foo@example.com';

Then, I successfully logged in with my old account and flows of it still existed.

Unfortunately, the above method doesn't work for my Ubuntu Linux X86_64 machine.

@abuaboud
Copy link
Contributor

It's related to this change I believe

#4413

@MrMYHuang
Copy link
Contributor Author

It's related to this change I believe

#4413

Thank you. If the issue is fixed, I will give it a try.

@abuaboud
Copy link
Contributor

I am closing this issue, It will be fixed in the next release (after 0.25.1) It's already merged in main.

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If this issue is continuing with the latest stable version of Activepieces, please open a new issue that references this one.

@MrMYHuang
Copy link
Contributor Author

Thanks! I successfully upgraded activepieces from 0.20.2 to 0.26.1. The login works well and flows are migrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants