Closed SwissOS closed 4 days ago
Same ..
Login to the admin panel, show's only a white page on the debug page.
Then you change the link to /admin it shows errors..
An unknown error occured: TypeError Object( [message:protected] => Cannot access offset of type string on string [string:Error:private] => [code:protected] => 0 [file:protected] => /web/debug.php [line:protected] => 32 [trace:Error:private] => Array ( ) [previous:Error:private] => )
i've tried to re-install, no backup. Plain install on arm64 (Oracle) same error.
THIS IS A AUTOMATED MESSAGE!
It seems your issue is not a bug. Therefore we highly advise you to get support!
You can get support either by:
This issue will be closed. If you think your reported issue is not a support case feel free to comment above and if so the issue will reopened.
"It seems your issue is not a bug." If it's not a bug, then what is it?
I had a perfectly working mailcow, did an update this morning and it stopped working. Is that not a bug?
It's not like I tried to add some extra feature or something else; I am not asking for "support". I see other people have the same problem, so obviously not a lone case.
Try to install it new on an Oracle ARM64 VM and report back if it works? You can get a free account, so you don't need to spend anything.
I don't get it, it was working fine on 24.04 but it's broken on 24.06 So it's clearly a big. As SWISSOS says try to install it on a arm64
I've installed it on a complete new vn on oracle no reverse proxy. Still same error. Arm is broken
I have the same issue on one of my machines after update to the latest stable version. Logging in with an admin account, the /debug page is empty and /admin shows the array error. If I login with a normal user account the GUI works just fine.
I narrowed it down a bit:
After switching on DEV_MODE for php_fpm_mailcow in docker-compose.yml I get the following error after login:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /web/debug.php:32 Stack trace: #0 {main} thrown in /web/debug.php on line 32
With adding a echo in debug.php
date_default_timezone_set('UTC'); -->> echo $container_info; $StartedAt = date_parse($container_info['State']['StartedAt']);
I receive the following hint:
Failed to connect to dockerapi port 443 after 14 ms: Couldn't connect to server Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /web/debug.php:33 Stack trace: #0 {main} thrown in /web/debug.php on line 33
So, connecting to the dockerapi container fails. Currently I have no idea why that happens.
A workaround is to comment the whole container block (line 26-54) in data/web/debug.php.
@DerLinkman I like to ask you to reevaluate your opinion regarding bug/support.
That sounds for me that something that was hot-fixed in 2024-06 broke the dockerapi integration: https://github.com/mailcow/mailcow-dockerized/issues/5924#issuecomment-2195095580 Maybe containers for ARM and x86 are a little different?
After the june update, when you visit https://mailcow.url, it redirects you to https://mailcow.url/debug, which displays a blank page. However, if you manually replace /debug with /admin, you gain access to the configuration settings but not the desired information page.
In my case I was able to resolve the issue by removing the "search" option in /etc/resolv.conf
Removing "search" in /etc/resolv.conf is not working for me.
trying multiple refresh of https://mailcow.url/debug, then replace debug by admin I see this:
An unknown error occured: TypeError Object( [message:protected] => Cannot access offset of type string on string [string:Error:private] => [code:protected] => 0 [file:protected] => /web/debug.php [line:protected] => 32 [trace:Error:private] => Array ( ) [previous:Error:private] => )
same here after udate to 2024-06a I´ve rolled back for now and hope that a solution can be found
I have the same situation on an ARM machine on Oracle Cloud. Same blank page and error message. It only started to happened after the 2024-06 update.
I temporarily moved to an x86 machine and it's working fine there.
Same here on ARM machine on Oracle Cloud
If I add in debug.php: echo “Container Info: ”; print_r($container_info); // Print the entire container_info array for debugging
I get: "Container Info: Could not resolve host: dockerapi"
Contribution guidelines
I've found a bug and checked that ...
Description
This seems like a PHP error from my googling. I don't know where to look further though. Any pointers?
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
ARM64 (aarch64)
Operating System:
Ubuntu 22.04
Server/VM specifications:
24GB/4 cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
none
Docker version:
27.02
docker-compose version or docker compose version:
2.28.1
mailcow version:
2024-06a
Reverse proxy:
Nginx (proxy_pass http://mailcowdockerized-nginx-mailcow-1:8080)
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check: