-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
2.27.3 throws exception when executed on command line on the first-time #1085
Comments
hey @the-djmaze, thanks for the fix. It seems to no longer produce an exception, but the data folder is still not populated, and config file not generated: $ docker run --rm -it leojonathanoh/snappymail:pr-1-65533f9 sh
/snappymail # apk add tree
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/1) Installing tree (2.0.4-r0)
Executing busybox-1.35.0-r29.trigger
OK: 105 MiB in 85 packages
/snappymail # cd /var/lib/snappymail/
/var/lib/snappymail # tree .
.
├── README.md
└── VERSION
0 directories, 2 files
/var/lib/snappymail # /entrypoint.sh
[INFO] Secure cookies activated
[INFO] Snappymail version: 2.27.3
[INFO] Setting permissions on /var/lib/snappymail
[INFO] Creating default Snappymail configuration: /var/lib/snappymail/_data_/_default_/configs/application.ini
[INFO] Overriding values in snappymail configuration: /var/lib/snappymail/_data_/_default_/configs/application.ini
sed: /var/lib/snappymail/_data_/_default_/configs/application.ini: No such file or directory
/var/lib/snappymail # tree .
.
├── INSTALLED
├── README.md
├── SALT.php
├── VERSION
├── _data_
│ └── _default_
│ ├── configs
│ ├── domains
│ │ ├── 1ae2c02f3722.json
│ │ ├── default.json
│ │ └── disabled
│ ├── plugins
│ └── storage
├── index.html
└── index.php
6 directories, 9 files
/var/lib/snappymail # |
Correct, as there is a problem due to Nextcloud crashing that conflicts here. |
hmm ok, i guess we'll have to wait and see for a fix. |
This commit has changes for it ad07c5b |
hmm let me try it |
it actually works now, thanks for the fix! :) |
Describe the bug
2.27.3 throws exception when executed on command line on the first-time fresh installation with the snappymail data directory unpopulated, whereas it worked on <=
2.27.2
. Discovered in #44Seems to be caused by dd74759. This prevents the config file from being generated the first time in docker #965.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No exception
Screenshots
On 2.27.3:
Contrast with
2.27.2
which works:Please complete the following information:
Debug/logging information
Place them here (few lines) or as attachments (many lines)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: