-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
404 when trying to complete account activation #2108
Comments
Does your server allow sending email? |
Yes - I never explicitly installed it myself but postfix was already configured on the system, so I was surprised when I received the email.
A whole lot of information - it was tough to parse but I noticed another error with write access. I disabled SELinux and quickly just set It seems like the biggest issue was setting write access on all of the appropriate folders. Also maybe I'm mistaken, but it seemed like new directories were being generated every time I tried accessing the webapp. I just kept constantly setting 775 recursively and eventually gave up with SELinux. Is there any way that we could just get a list of folders that need write access? If the cache and log folders could also be specified, that would help with setting the proper SELinux contexts as well. |
As far as I know, only |
Are any new folders generated after the initial extraction from the archive? I remember setting 775 recursively quite a few times and I still kept getting write access errors. This was even with SELinux disabled while I was testing. I'll have to try again with installation. I'll set up another instance and try from scratch again. I also take it that an MTA is a requirement so that we can receive the confirmation email. |
It took me nearly an entire day but I set up a clean VPS and I figured out the following:
The following SELinux rules are needed:
I think this is also needed at the very least:
I also had these rules set, some of them from other webapps that I'm running:
Lastly, don't forget to allow smtp through your firewall. I think that should cover everything. I know not everyone has SELinux enabled and that was half of my problems, but hopefully this helps somebody else in the future. Also, I confirmed that /var/cache and /var/logs are indeed generated after successfully launching the webapp. This is why wallabag/var needs to be writable. |
Hello @Poorchop, Thank you for your feedback. Can you open a new pull request please? |
Hi @nicosomb, I'd be happy to propose some additions to the documentation but my problems mostly pertain to a very specific environment, namely CentOS 7 with nginx and SELinux enabled and installing via "latest-v2-package" instead of using the recommended way with git and composer. Also, I'm not 100% sure if all of my above suggestions are best practice and secure. I'll try my best to modify the documentation but hopefully else someone can review my changes carefully and guide me if they don't agree with my suggestions. |
Issue details
I'm unable to finish my account activation. Immediately after trying to create an account, I get a 50x error, but I'm still able to receive the activation email. However, when I click the activation link, I receive a 404. There's no useful information whatsoever in the logs pertaining to this issue, only the following:
For the record, I've set the timezone in my php.ini to the server's timezone. I doubt that this issue is related to the system time though.
Environment
git clone
or by downloading the package?Steps to reproduce/test case
nginx
in php.iniI also had a much harder time just getting to this point compared to installing v1. I thought v2 was supposed to simplify installation but this is the hardest time that I've ever had installing anything.
assets
,cache
,db
, andinc
writable. Now I can't figure out what needs write access and setting SELinux contexts is even worse.v2 looks beautiful in the screenshots and seems to offer much more than v1, but installation is infinitely harder for me.
The text was updated successfully, but these errors were encountered: