Running Sendy with Docker - docker

I am trying to run the Sendy software with Docker.
I've managed to get the sendy installation page to show up when I visit my website but the issue is when I fill in my details and click next. All that happens is that the page refreshes.
If I visit the page on a new tab then it will show the login page. The details I entered on the installation page won't let me log in.
In the database the 6 tables are now present (after clicking next on the installation page).
Here are the steps I used to get to this point (now the sendy docker image runs fine - the Dockerfile I am using is: https://github.com/open-forest/sendy):
Building a Dockerfile from inside Docker Compose
I fill in details, click continue, it refreshes the page and blanks all details on install page again. The database now has the 6 db tables: apps, campaigns, links, lists, login, subscribers - all empty
If go to another tab and input the main url without the install path at the end, it shows the login page now. If I try to log in it says: Incorrect password or user does not exist.
Logs in portainer look fine.
After manually putting a new login row in database with the email field filled in, and then try to reset the password it shows a pop-up saying: Email does not exist.
I've upgraded my vps to have double the ram memory as it was at 80%. Still the same issue.
I've also tried to add the email, password hash below, and the license key
a5b253d8484925a3b4fba260768416dfdcbeaed639bb3435c566cbf54721f846903725c7283cf9ab1f090f179d015f46a50b5e798695547eda6e2342db8918a2
= 12345678
If I delete all the tables in the db, and refresh the page it will show the installation screen again where I can fill in all the values.
The server compatibility checklist is all green.
Any help would be appreciated!

Related

Log into one website, then automatically to all other websites

We have two websites. What we want is for a user to log into one website, then, when he goes to another website, he no longer needs to login.
What I did was to place an image on the web page of the first website, which is shown after user logs in. That image is downloaded from the second website. In the action method in the second website which serves the image, I place an authentication cookie and logs user in.
Contradicting outcome:
After user logs into the first website, he still has to log into the second website. Although the image was indeed downloaded from the second website, it did not insert an .ASPXAUTH cookie.
However, if I manually invoke that action method by placing the URL of that action method into browser and hit enter, the second website did insert a .ASPXAUTH cookie, and I no longer need to log into the second website.
What's the difference between the web page on the first website downloading the image, and me doing it manually?

Instagram login error: "This page could not be loaded. If you have cookies disabled in your browser..."

I have an Instagram social login implemented and it was working as expected until few days ago. Now when you try to log in, and just after the user inputs its username and password, the web view shows an error related to disabled cookies. I have not changed anything on my side... It is happening in both iOS and Android platform.
I've tried to log in using VPN to a non Europe country and the login works as expected... Have any of you encountered this issue?
This is the error I get:
Error
This page could not be loaded. If you have cookies disabled in your browser, or you are browsing in Private Mode, please try enabling cookies or turning off Private Mode, and then retrying your action.
Facebook have now resolved the issue as per the issued bug report previously mentioned by #user1017674
https://developers.facebook.com/support/bugs/406930029718049/
They didn't provide details on what caused the bug, but now it seems like you will be redirected to the new design of the Instagram login form rather than the classic one.
You need to go to the Instagram home page first and click "allow cookies". After that open the link in the password reset email again.
What helped in my case is going on the homepage, site settings, and allowing "Unsafe content". Reload after changing, and repeating the normal procedure with the last password you entered that you want to be now your actual PWD - and worked.

Jenkins web authentication intermittently fails

I am running Jenkins within Tomcat 7.
I want to log in and operate Jenkins securely over the web.
I set up an admin user and password. Logging in with these credentials works fine initially.
Then, after a while, I try to log in but submitting my login request just sends me back to the login screen (but without the "Invalid login information. Please try again." message).
I have to hack around it by disabling security in config.xml, and re-enabling it via the "Configure Global Security" page. I've tried two different Security Realms: "Jenkins’ own user database" and "Unix user/group database". They both work initially then eventually fail.

Rails: Signing out user from both desktop site and mobile API

This Rails project uses Spree and Devise and has a separate controller to serve up JSON responses for the mobile side of things. I've just implemented Devise::Lockable to lock a user account after 5 failed logins. This automatically generates a password reset email. Things work fine on the desktop site and on the mobile site. My question comes from mixing the two together:
If you fail login 5 times through mobile API, the password link is sent to that account's email. But if you are already signed in on the desktop, and then also access the reset link from the desktop, it redirects to the home page (and signs out the user). If you click the reset link again, then the password reset form is served up.
How can I also sign out a user on from "normal" app (the desktop side of things) when the user fails logging in the maximum times on the mobile app?
EDIT: I've tried throwing Devise's "sign_out user" at almost every point in the pipeline but that doesn't do the trick, since the user for some reason isn't found to be signed in.

Modx Revolution - New user cannot login

I'm trying to create a new user in MODX REVOLUTION 2.3.0 but for some reason, the user cannot access the manager area. I tried to clear every bit of cache as well as to made sure the password is created by the system (email has been sent) and the user belongs to the Users Group.
Strangely, when looking at the user settings, it says that the user has made some 10 logins, but in reality, he has not.
When I type a wrong password, I get the wrong password error message, when I type a correct password, the input field gets cleared and nothing else happens.
Any idea how to solve this?
Thanks.
It seems that user don't have access to mgr context. Any user needs «frames» permission to get access to the manager.
Try to update user's data and make him a sudoer. It'll help to understand if wrong permissions cause the problem.
Exactly. Like #proxyfabio said, he needs access to the manager. To at least asses if the user login works, give him temporary SUDO rights. If that works, work your way from the ground up.
Make sure an Access Policy Template and Access Policy is created. Make sure the policy contains "frames" and is checked at the Policy Template edit screen. Next, PLEASE, make a separate Role, like "Customer". Go into the Aministrator group (or again, PLEASE, create a Customer group) and head on over to the Users tab. Add the User to the group with the Role Customer - "your level" (I usually use increments of 500 or 1000).
Under Context Access, add the user to the mgr context with the specified role and your Customer policy. Do the same for web if you with to avoid any in depth issues.
Finally, save your settings, flush your permissions, clear your cache and optionally flush your sessions table (you can also delete cookies for the browser you're using). When you've done all that, create an Incognito tab in Chrome or Firefox to avoid issues and try the login again.
I have somewhat the same issue if I try login a duplicate manager user from an android phone, the login count goes up, wrong password gives error and correct password just refresh the login page.
However logging in from a computer works. Initially it didn't...
Here are my steps:
Duplicate manager user
Set new password
Login fails
Click forget login for e-mail
Login successfully (computer) with the new generated password
Change original password to original password!? :D
Login works everywhere except my phone

Resources