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

Errors after upgrade, blank landing page #1259

Open
1 task done
AlexKalopsia opened this issue Apr 26, 2024 · 4 comments
Open
1 task done

Errors after upgrade, blank landing page #1259

AlexKalopsia opened this issue Apr 26, 2024 · 4 comments

Comments

@AlexKalopsia
Copy link

Baikal version: 0.9.5

  • I have searched open and closed issues for duplicates
  • [] I have installed the release zip, not the source code zip
  • [] I have moved the whole, untouched Specific and config folders to the new installation

Problem:

I pulled the 0.9.5 image and recreated the docker container.
The UI asked me to perform the upgrade. I did so.
Now I can't reach Baikal anymore, I just get a blank landing page

Stack trace:
#0 /var/www/baikal/Core/Frameworks/Flake/Framework.php(265): Flake\Framework::initDb
Sqlite()
#1 /var/www/baikal/Core/Frameworks/Flake/Framework.php(205): Flake\Framework::initDb
()
#2 /var/www/baikal/html/dav.php(50): Flake\Framework::bootstrap()
#3 {main}
  thrown in /var/www/baikal/Core/Frameworks/Flake/Framework.php on line 269" while r
eading response header from upstream, client: 172.20.0.1, server: _, request: "PROPF
IND /dav.php/calendars/ala/default/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/ph
p-fpm.sock:", host: "dav.mydomain.com"
172.20.0.1 - alex [22/Apr/2024:20:26:19 +0000] "PROPFIND /dav.php/calendars/ala/defa
ult/ HTTP/1.1" 500 5 "-" "DAVx5/4.3.16.1-gplay (2024/04/17; dav4jvm; okhttp/4.12.0)
Android/12" "192.168.1.1"
2024/04/22 20:26:19 [error] 49#49: *8 FastCGI sent in stderr: "PHP message: PHP Warn
ing:  Trying to access array offset on value of type null in /var/www/baikal/Core/Fr
ameworks/Flake/Framework.php on line 262PHP message: PHP Warning:  Trying to access
array offset on value of type null in /var/www/baikal/Core/Frameworks/Flake/Framewor
k.php on line 262PHP message: PHP Fatal error:  Uncaught TypeError: Flake\Framework:
:initDbSqlite(): Argument #1 ($config) must be of type array, null given, called in
/var/www/baikal/Core/Frameworks/Flake/Framework.php on line 265 and defined in /var/
www/baikal/Core/Frameworks/Flake/Framework.php:269

Compose:

baikal:
    image: ckulka/baikal:nginx
    container_name: baikal
    restart: always
    ports:
      - "5233:80"
    volumes:
      - ${DOCKER_PATH}/baikal/config:/var/www/baikal/config
      - ${DOCKER_PATH}/baikal/data:/var/www/baikal/Specific
    depends_on:
      - mariadb

I have also tried the ckulka/baikal:0.9.5-nginx-php8.2 image, thinking this could have been an issue with PHP, but that didn't solve the issue

@rivman
Copy link

rivman commented Jul 17, 2024

Check PHP version, v0.9.5 seems not to work with less than php8.1. I roll back to 0.9.4 since the 0.9.5 didnt work for me.

@Stitch10925
Copy link

Same issue here. Cannot use Baikal at the moment because of this, since the UI won't load. I hope this gets resolved soon.

@AlexKalopsia
Copy link
Author

fwiw I "solved" this by just creating a new container ¯_(ツ)_/¯. I dunno what, but something might have gone wrong during the upgrade

@Stitch10925
Copy link

@AlexKalopsia

I'm starting from a fresh container, first time setup.

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

3 participants