-
Notifications
You must be signed in to change notification settings - Fork 37
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
Newly installed wiki not sending mail confirmations #181
Comments
Hey @ajhurst, please double check the configuration in You find a block "Test Mail Preferences" below the settings with a Send Test Mail button. Please try this and share what you find in the log, e.g.
|
Sorry, how do I get to settings? Remember, I have not been able to confirm my account, so there is currently no admin user.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Tue, 14 Jan 2025, at 21:41, Ralph Thesen wrote:
Hey @ajhurst <https://github.com/ajhurst>,
please double check the configuration in `Setting > Mail Preferences`.
You find a block "*Test Mail Preferences*" below the settings with a
Send Test Mail button. Please try this and share what you find in the
log, e.g.
`[2025-01-14 11:39:58,684] ERROR in helper: send_async_email(): ...
`
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMEYJV2GLJ6XZ35ORCL2KTSUVAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBZGU3TINBRHE>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The first user that is registered doesn't need to confirm the email adress and is an admin-account by default. |
Yes, but I still cannot see the “settings” link to which you refer. My point is that I was not registered because of the failure of the confirmation email, so I am not a user, let alone the first one. I remain a “guest”, or just “anonymous”.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Tue, 14 Jan 2025, at 22:25, Ralph Thesen wrote:
The first user that is registered doesn't need to confirm the email
adress and is an admin-account by default.
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMCPZW53JP66VFYFSAD2KTXY5AVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBZGY3DEMRWGY>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
G'day Ralph,
OK, due to some other problems (not related to this one), I reinstalled the otter wiki ("anotter wiki? :-), and I now get the following response when I tried the "send test mail" option.
(see attachment)
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Wed, 15 Jan 2025, at 08:48, Ralph Thesen wrote:
The first user you registered, needs no confirmation mail. You should b
able to log in with the email and the password you provided.
As soon as you are logged in, you find the settings in the dots Menu in
navbar:
image.png (view on web)
<https://github.com/user-attachments/assets/f3bc2d33-8c7c-42a8-acd8-930edcc5dcfc>
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMDH6I6FYM5VHVILYCT2KWA4RAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJRGE3TIMJRGQ>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
In trying to make progress on this, I have got things into a total mess. Is there anyway one can uninstall the package, hopefully to start again?
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Wed, 15 Jan 2025, at 10:37, John Hurst wrote:
G'day Ralph,
OK, due to some other problems (not related to this one), I reinstalled
the otter wiki ("anotter wiki? :-), and I now get the following
response when I tried the "send test mail" option.
(see attachment)
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
On Wed, 15 Jan 2025, at 08:48, Ralph Thesen wrote:
> The first user you registered, needs no confirmation mail. You should b
> able to log in with the email and the password you provided.
>
> As soon as you are logged in, you find the settings in the dots Menu in
> navbar:
> image.png (view on web)
> <https://github.com/user-attachments/assets/f3bc2d33-8c7c-42a8-acd8-930edcc5dcfc>
>
> —
> Reply to this email directly, view it on GitHub
> <#181 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AARGDMDH6I6FYM5VHVILYCT2KWA4RAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJRGE3TIMJRGQ>.
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
Attachments:
* Screenshot from 2025-01-15 10-32-55.png
|
Sure, using which method did you install it? |
the docker cli method
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Wed, 15 Jan 2025, at 23:48, Ralph Thesen wrote:
Sure, using which method did you install it?
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMHRBN7U6JD7INTEKTD2KZKI5AVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJSG43DANJWG4>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
With the docker cli there is not much to uninstall. Under the assumption that you ran
all files created by the wiki can be found in the local If you have not iused a local directory as volume, please check the docker docs on how to remove the volume. For your next try let me suggest to use docker compose the recommended method for running An Otter Wiki. ✌️ |
I'm sorry, but I am well out of my depth here. I restarted using the docker compose, and I did get an Otter wiki running. But then I ran into the nginx timeout that I showed you previously. Something to do with the mail settings, I think?
So I tried re-installing it yet again. Now, the command "docker compose up -d" says "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
But I don't know how to start a docker daemon. The docker documents are arcane, to say the least, and I have not been able to understand how to start the docker.
What am I missing?
Sorry to be such a pain, but the Otter Wiki does seem to be what we want, and I am trying to persist with it.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Thu, 16 Jan 2025, at 10:21, Ralph Thesen wrote:
With the docker cli there is not much to uninstall. Under the
assumption that you ran
`docker run --name otterwiki \
-p 8080:80 \
-v $PWD/app-data:/app-data \
redimp/otterwiki:2
`
all files created by the wiki can be found in the local `app-data`
directory. Just rename it if you have created something, or remove it
if not.
If you have not iused a local directory as volume, please check the
docker docs <https://docs.docker.com/engine/storage/volumes/> on how to
remove the volume.
For your next try let me suggest to use docker compose
<https://otterwiki.com/Installation#using-docker-compose> the
recommended method for running An Otter Wiki. ✌️
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMFU45RMKJYYOS5FKAD2K3URLAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJUGEZTKNZTHE>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey @ajhurst, digging into the details of your environment is a bit out of scope. Please understand that I can only provide limited support. Lets start with a few questions:
|
G'day Ralph,
My apologies for the run-around. I have reinstalled the system, and the answers to your questions are:
1. Linux
2. Ubuntu 24.04.1
3. I also reinstalled docker, using the instructions I got from Claude (AI): (you can probably skip this)
===========================================================================
First, update your package index and install prerequisites:
sudo apt update
sudo apt install -y ca-certificates curl gnupg lsb-release
Add Docker's official GPG key:
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Set up the Docker repository:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Update apt index again and install Docker:
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verify the installation:
sudo docker run hello-world
(Optional but recommended) To run Docker without sudo, add your user to the docker group:
sudo usermod -aG docker $USER
Then log out and back in for the changes to take effect.
=================================================================================
I am now in the situation where I have an admin account and can login successfully. This is where things went astray on my last go. It is something to do with my mail settings. What I had was:
=========================
Mail Sender: ***@***.*** (my normal email address)
Mail Server: fastmail.com (my normal SMTP server)
Mail Server Port: 465 (this is what I am not sure about. It is what I
used previously, but on looking it up, I see
that 587 is now the recommended setting.
Should I change this?)
Mail Username: ***@***.***
Mail Password: my password for my account at fastmail
Mail Security: not secured (change this?)
==========================
This settings seem to cause the nginx timeout on mail send attempts, for reasons I don't understand.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Sun, 19 Jan 2025, at 20:20, Ralph Thesen wrote:
Hey @ajhurst <https://github.com/ajhurst>, digging into the details of
your environment is a bit out of scope. Please understand that I can
only provide limited support. Lets start with a few questions:
1. What is your OS?
2. In case of linux: Which distribution?
3. How did you install and run docker in first place?
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMDXR56QVDEVT5FBCM32LNU4FAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBQG43TIMBZGY>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey John, good to hear that you got An Otter Wiki running! You are on the right track, according to this fastmail.help article you have to set |
G'day Ralph,
My Otter wiki system seems to now be stable enough, but I have been unable to register new users, as the confirmation mail never seems to get through. I'm attaching a screen shot of the email settings.
Is there some way of turning off the registration, at least in the short term?
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Mon, 20 Jan 2025, at 20:40, Ralph Thesen wrote:
Hey John, good to hear that you got An Otter Wiki running!
You are on the right track, according to this fastmail.help
<https://www.fastmail.help/hc/en-us/articles/1500000279921-IMAP-POP-and-SMTP#01H8Q4KWEZ2JK8YS0FP85FM0H7>
article you have to set `Mail Security` to `SSL` to enable an ecrypted
connection to the fastmail servers.
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMDWNCGUQ536KJMBCH32LTAANAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBRHA4TQNBYHA>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey John, of course! Logg in as admin (the first registered user is an Admin) open up the dots Menu > ... But I don't think that is waht you want, I guess you want to disable that the confirmation mail is necessary? Disable |
Yes! Thank you! That will keep me going for the interim.
Thanks so much for your help, it is much appreciated.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Fri, 24 Jan 2025, at 19:15, Ralph Thesen wrote:
Hey John, of course!
Logg in as admin (the first registered user is an Admin) open up the
dots Menu > `Settings`, on the left open `Permissions and Registration`
and you find an Option `[ ] Disable Registration` there.
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARGDMGLIAEYAI342CYNHWT2MHZDZAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHEYTOMZWGY>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
G'day Ralph,
Sorry to bother you again, but I have had trouble understanding how file/page names are being treated. I created a page called "One Body, Many Members" - first of all it didn't like the spaces, so I removed them. Then things got complicated. The page that got created had all the upper case removed, so I changed the link to match. Then it could not find the page. It all went downhill from there.
So what is the rule about page naming? Can you use upper case? I named a page "JohnHurst" but it got saved as "Johnhurst". Other pages like "AngasHurst" got saved with the correct capitalization. I tried renaming "Johnhurst" to "JohnHurst", but it said page already exists.
It doesn't, at least it is not in the repository directory, So I tried loading it directly via the URL. I got a page labelled "JohnHurst", so I thought, "I shall delete this one, and then I can rename the other Johnhurst one". It produced the delete dialog, which I completed, then failed with Error 500, "Internal Server Error". Going back to rename Johnhurst failed again with page JohnHurst "already exists".
I checked the user guide, but it says nothing about page name rules, so I am left wondering just what I did wrongly.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
…On Fri, 24 Jan 2025, at 22:40, John Hurst wrote:
Yes! Thank you! That will keep me going for the interim.
Thanks so much for your help, it is much appreciated.
cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org ~ ~~~&#:
-- (mob 0407 569 292) _..___ ---____@___H__
-- (local) ajh.co |_____[_|_________[__]_
-- (global) ajhurst.org oo oo oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications:
-- ISPs are not as smart as spammers
On Fri, 24 Jan 2025, at 19:15, Ralph Thesen wrote:
> Hey John, of course!
>
> Logg in as admin (the first registered user is an Admin) open up the
> dots Menu > `Settings`, on the left open `Permissions and Registration`
> and you find an Option `[ ] Disable Registration` there.
>
> —
> Reply to this email directly, view it on GitHub
> <#181 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AARGDMGLIAEYAI342CYNHWT2MHZDZAVCNFSM6AAAAABVEFJ3QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRHEYTOMZWGY>.
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
|
(2) Upper and lower case in pagenamesPer default An Otter Wiki stores all pages in all lower case names, so no matter which Pagename you pick
it will always be stored in Links to the page are resolved ignoring case, too. e.g.:
To make it possible that a page can have upper and lower case in the name, An Otter wiki relies on the pages header, if the first header, e.g. # Home matches the page name, the headers case is used to display the page name for example in the Page Index. Note: This is different when you have set |
I have just installed Otter Wiki, and I have had trouble confirming my email address. Although the wiki says that a confirmation email has been sent, it never arrives.
The message that gets recorded by the log is:
"ERROR in helper: send_async_email(): Exception please run connect() first"
Can you please help?
The text was updated successfully, but these errors were encountered: