Skip to content
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

Invalid request No data was saved #278

Open
EnergeticMrMask opened this issue Nov 17, 2024 · 0 comments
Open

Invalid request No data was saved #278

EnergeticMrMask opened this issue Nov 17, 2024 · 0 comments

Comments

@EnergeticMrMask
Copy link

Hello.
I am trying to implement an email service using docker-mailserver and roundcubemail through Docker in one server.
Everything was going smoothly until I tried to log into the email using roundcubemail.
I entered the correct username and password, but it prompted me with Invalid request! No data was saved.
I didn't find any relevant solutions about this online. I found a related discussion in Roundcube's issues, but I think the solution provided doesn't seem suitable for Docker.
The docker-mailserver seems to be running fine; the problem should be with Roundcube Mail. I believe there is an issue with my configuration, but I don't know where the problem lies.
This is my docker run command, which I modified based on the docker run instructions and compose file from the examples and the README.

docker run \
  --name roundcubemail \
  --network host \  #I also tried use "-p 80:80" here, but there is no different
  -v /etc/docker/roundcubemail/config/data:/var/www/html \
  -v /etc/docker/roundcubemail/config/db/sqlite:/var/roundcube/db \
  -e ROUNDCUBEMAIL_DEFAULT_HOST=localhost \ #I also tried use "192.168.x.x" which is the server's IP and "mail.mydomain.com" which point to IP 192.168.x.x. but there is no different
  -e ROUNDCUBEMAIL_SMTP_SERVER=localhost \
  -e ROUNDCUBEMAIL_DB_TYPE=sqlite \
  roundcube/roundcubemail

and the run log is as follows

roundcubemail found in /var/www/html - installing update...
Target installation already in version 1.6.9. Do you want to update again? (y/N)
Copying files to target location...done.

Running update script at target...
Executing database schema update.
/usr/bin/composer
Executing /usr/bin/composer to update dependencies...
Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading guzzlehttp/promises (2.0.3 => 2.0.4)
  - Upgrading symfony/deprecation-contracts (v2.5.3 => v3.5.0)
Writing lock file
Installing dependencies from lock file
Package operations: 0 installs, 2 updates, 0 removals
  - Downloading symfony/deprecation-contracts (v3.5.0)
  - Downloading guzzlehttp/promises (2.0.4)
 0/2 [>---------------------------]   0%
 1/2 [==============>-------------]  50%
 2/2 [============================] 100%
  - Upgrading symfony/deprecation-contracts (v2.5.3 => v3.5.0): Extracting archive
  - Upgrading guzzlehttp/promises (2.0.3 => 2.0.4): Extracting archive
 0/2 [>---------------------------]   0%
 2/2 [============================] 100%
Generating autoload files
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
This instance of Roundcube is up-to-date.
Have fun!
All done.
Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Write Docker config to /var/www/html/config/config.docker.inc.php
Checking for database schema updates...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Sun Nov 17 16:59:44.638627 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.1.30 configured -- resuming normal operations
[Sun Nov 17 16:59:44.638660 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
192.168.0.246 - - [17/Nov/2024:17:00:36 +0000] "POST /?_task=login HTTP/1.1" 401 3199 "http://192.168.0.243/?_task=login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0"

Can someone please tell me where the problem is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant