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

initial wizard after install at appstore error for [kodcloud] #608

Closed
chendelin1982 opened this issue Apr 27, 2024 · 2 comments
Closed

initial wizard after install at appstore error for [kodcloud] #608

chendelin1982 opened this issue Apr 27, 2024 · 2 comments
Labels
bug Type label, something isn't working

Comments

@chendelin1982
Copy link
Contributor

chendelin1982 commented Apr 27, 2024

Describe the bug

lastest version, when confirm initial wizard first step error, db password zb1ZCz65#IT!P9j4

出错了! (warning!)
method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
系统错误 (install.index.save)
bin/data.bin[2] method_exists(0,1)
bin/data.bin[2]
[Linux 5.14.0-362.18.1.el9_3.0.1.x86_64/8.2.16/mysqli/1.49.10]
@chendelin1982 chendelin1982 added the bug Type label, something isn't working label Apr 27, 2024
@chendelin1982 chendelin1982 changed the title initial wizard error for [kodcloud] initial wizard after install at appstore error for [kodcloud] Apr 27, 2024
@chendelin1982
Copy link
Contributor Author

v1.4505 is good

@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented Apr 30, 2024

目前最新版本是1.49, latest不是对应最新release版本。
为了让其正常运行,docker-compose需要用最新的。

# image: https://hub.docker.com/r/kodcloud/kodbox

version: "3.8"

services:
  mariadb:
    image: mariadb:$W9_DB_VERSION
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    container_name: $W9_ID-mariadb
    environment:
      - "TZ=Asia/Shanghai"
      - "MYSQL_DATABASE=$W9_ID"
      - "MYSQL_USER=$W9_ID"
      - "MYSQL_PASSWORD=$W9_POWER_PASSWORD"
      - "MYSQL_ROOT_PASSWORD=$W9_POWER_PASSWORD"
    restart: always
    volumes:
      - mysql_data:/var/lib/mysql

  kodbox:
    image: $W9_REPO:$W9_VERSION
    container_name: $W9_ID
    ports:
      - $W9_HTTP_PORT_SET:$W9_HTTP_PORT
    volumes:
      - kodbox:/var/www/html
    environment:
      - "MYSQL_HOST=$W9_ID-mariadb"
      - "MYSQL_DATABASE=$W9_ID"
      - "MYSQL_USER=$W9_ID"
      - "MYSQL_PASSWORD=$W9_POWER_PASSWORD"
      - "REDIS_HOST=$W9_ID-redis"
    env_file: .env
    restart: always

  redis:
    image: redis:alpine
    container_name: $W9_ID-redis
    restart: always

volumes:
  kodbox:
  mysql_data:

networks:
  default:
    name: $W9_NETWORK
    external: true

.env

# https://hub.docker.com/r/kodcloud/kodbox
# must use 4four decimal version number
W9_VERSION=1.49
W9_DIST=community
W9_REPO=kodcloud/kodbox

W9_POWER_PASSWORD=uQ8E1wVTzG8SOk3!

#### --  Not allowed to edit below environments when recreate app based on existing data  -- ####
W9_ID=kodbox
W9_DB_EXPOSE="mariadb"
W9_DB_VERSION="10.6"
W9_HTTP_PORT=80
W9_HTTP_PORT_SET=9002
W9_URL=internet_ip
W9_NETWORK=websoft9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type label, something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants