本帖最后由 带你逃跑 于 2024-10-18 05:23 编辑
解决方法:把docker-compose.yml文件2283:3001改为2283:2283
感谢Immich交流群 大神开水和白起支持。
感谢a94273825大神的扫盲贴:https://club.fnnas.com/forum.php?mod=viewthread&tid=1825&extra=page%3D1
以下是一开始碰到的问题:
我第一次安装immich就成功了。
然后,我发现immich所有照片都上传到了系统盘,想重新部署下,把upload盘构建到大硬盘上这样空间宽裕。结果第二次构建一直没有成功。已经尝试了不下100次。
docker-compose.yml文件没有修改。env文件内容:仅修改了upload和data路径
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/vol1/1000/photos
# The location where your database files are stored
DB_DATA_LOCATION=/vol1/1000/docker/immich/db
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.**.org/wiki/List_of_tz_database_time_zones#List
TZ=Asia/Shanghai
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
第二次构建后,容器启动正常,4个容器日志如下:
就是immich系统访问不了,感谢大神们看到这儿,求解。
|