0xDkd / auxpi

🍭 集合多家 API 的新一代图床
GNU General Public License v3.0
2.72k stars 368 forks source link

./auxpi init 过程出现connect: connection refused #83

Closed huangwb8 closed 5 years ago

huangwb8 commented 5 years ago

Bug report(问题描述)

我使用的版本是auxpi-2.3.9-linux.tar.gz. 当下载下来后,在根目录下执行./auxpi init时,出现报错: panic: dial tcp 127.0.1.1:6379: connect: connection refused

goroutine 1 [running]: github.com/auxpi/bootstrap.initCache(0xc0000f83c0, 0xc0000e1f30) /Users/aimer/go/src/github.com/auxpi/bootstrap/Config.go:220 +0x71a

Steps to reproduce(问题复现步骤)

wget https://github.com/aimerforreimu/auxpi/releases/download/2.3.9/auxpi-2.3.9-linux.tar.gz
tar -zxvf auxpi-2.3.9-linux.tar.gz 
# 复制/build/linux目录下的文件到当前目录
sudo chmod -u+x auxpi
./auxpi init

Screenshot or Gif(截图或动态图)

image

Server environment(服务器环境)

huangwb8 commented 5 years ago

已解决,我使用了旧的版本:auxpi-2.3.6-linux.tar.gz,即没有类似问题。

0xDkd commented 5 years ago

可以不用redis做缓存 或者安装redis

具体如何修改,请看app. conf