Code Monkey home page Code Monkey logo

Comments (5)

AlexanderWolfZhang avatar AlexanderWolfZhang commented on August 18, 2024

查看docker日志,部分截取和全文如下:

PHP Fatal error:  Uncaught mysqli_sql_exception: Table 'tiebacloud.tc_options' doesn't exist in /var/www/lib/class.mysqli.php:119
Stack trace:
#0 /var/www/lib/class.mysqli.php(119): mysqli->query()
#1 /var/www/lib/reg.php(25): wmysql->query()
#2 /var/www/init.php(53): require('...')
#3 /var/www/do.php(4): require('...')
#4 {main}
  thrown in /var/www/lib/class.mysqli.php on line 119
[tiebacloud_logs.txt](https://github.com/MoeNetwork/Tieba-Cloud-Sign/files/13783516/tiebacloud_logs.txt)

from tieba-cloud-sign.

BANKA2017 avatar BANKA2017 commented on August 18, 2024

你的配置的数据库用户 tieba 没有对应数据库的读写权限,去 phpMyAdmin 设置一下应该就好了

from tieba-cloud-sign.

AlexanderWolfZhang avatar AlexanderWolfZhang commented on August 18, 2024

你的配置的数据库用户 tieba 没有对应数据库的读写权限,去 phpMyAdmin 设置一下应该就好了

tieba用户对tieba数据库有all privileges权限,并且尝试使用root用户操作也是一样的问题
clip 2023-12-29

from tieba-cloud-sign.

AlexanderWolfZhang avatar AlexanderWolfZhang commented on August 18, 2024

在另一台机器上全新安装了Ubuntu和docker环境,直接用原本的yml一字未改启动容器,手动在容器的/var/www/setup/下新建install.lock后仍然出现相同的报错
clip 2024-01-03

from tieba-cloud-sign.

AlexanderWolfZhang avatar AlexanderWolfZhang commented on August 18, 2024

修好了,不能一开始起容器的时候就配置volume选项,需要先进入一次页面然后安装相关依赖并填写配置项,正常安装完成后才可以重新配置容器并启用volume导出

from tieba-cloud-sign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.