-
Notifications
You must be signed in to change notification settings - Fork 6
Update postfixadmin 3.3.4, update alpine:3.13 and php8 #9
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
Update postfixadmin 3.3.4, update alpine:3.13 and php8 #9
Conversation
|
I Updated postfixadmin to 3.3.3, updated the base image to alpine:3.13 and php to 8. As a temporary workaround I changed server.key's permission in the Dockerfile with |
|
@SaraSmiseth, do you think we could add the upgrade step to the startup script? So our user should not perform the additional upgrade process. What do you think? |
|
@SaraSmiseth you said, temporary, what is a more permanent solution? If the key is not used, may be it can be just simply deleted? |
Great idea. I'll test that and report back.
I hope that dovecot fixes that problem and we can simply remove the new line for changing the permissions. |
|
| # 32 1 40 | ||
| # Exemple : ffdeb741c58db80d060ddb170af4623a:54e0ac9a55d69c5e53d214c7ad7f1e3df40a3caa | ||
| while [ ${#HASH} -ne 73 ]; do | ||
| while [ ${#HASH} -ne 60 ]; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm okay with the changes here, but do we need to update the example above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment updated
sknight80
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides my comment, I am okay with the PR.
sknight80
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Sorry, guys, flat out. |
I have pushed a image build with these changes to my docker hub.
This is what I did so far.
I got the following error after using this updated image:
To update I executed the following command.
docker exec -ti docker_postfixadmin_1 php postfixadmin/public/upgrade.phpNow the login page loads fine. But after logging in I get this error:
It seems like the problem is caused by a newer dovecot version which was released in the meantime. This new version (/usr/bin/doveadm pw) tries to read /etc/ssl/dovecot/server.key but it has no permissions to do so.
/usr/bin/doveadm pwis used for the hashing of the passwordWorkaround, but not really the real fix is this:
docker exec -ti docker_postfixadmin_1 chmod 777 /etc/ssl/dovecot/server.keyAfter running this I was able to login.