我正在将我的Jenkins安装移动到/data
处安装的新磁盘,我的结构如下:
lrwxrwxrwx 1 jenkins jenkins 13 Nov 5 14:36 /usr/share/jenkins -> /data/jenkins
lrwxrwxrwx 1 jenkins jenkins 20 Nov 5 15:32 /var/cache/jenkins -> /data/jenkins/cache/
lrwxrwxrwx 1 jenkins jenkins 19 Nov 5 14:42 /var/lib/jenkins -> /data/jenkins/home/
当Jenkins服务停止时,我移动了所有内容。现在,当我启动Jenkins服务时,我的页面显示:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.9 (Ubuntu) Server at XXX Port 80
我认为,问题在于拥有Jenkins文件或者是符号链接。我移动的所有文件都设置为jenkins:jenkins。
有什么想法吗?