php79 / stack

PHP 5.3 ~ 8.2 + Nginx + Let's Encrypt + MariaDB + 앱 자동 설치
https://www.php79.com
MIT License
89 stars 32 forks source link

nginx 미설치시 업데이트 오류 #60

Closed ibin79 closed 1 year ago

ibin79 commented 4 years ago

에러

mariadb 만 설치된 서버에서 업데이트시 다음 에러 발생

[root@db-a stack]# ./self-update.sh 

php79 stack version 0.9.12

### 업데이트전 nginx 설정을 먼저 테스트합니다. ###

./self-update.sh: line 16: /usr/sbin/nginx: 그런 파일이나 디렉터리가 없습니다

Error) nginx 설정 테스트가 실패하였습니다.  nginx 설정 오류를 해결하고 업데이트해주세요.

임시 해결책

우선 설정 테스트 무시하고, git 명령으로 업데이트 진행하면 됨.

[root@db-a stack]# git pull origin master
ibin79 commented 1 year ago

/usr/sbin/nginx 파일이 없을 경우 nginx 체크 생략하도록 개선.

[root@rocky87 stack]# ./self-update.sh 

php79 stack version 1.2.4

### php79 stack 업데이트를 시작합니다. ###

https://github.com/php79/stack URL에서
 * branch            master     -> FETCH_HEAD
힌트: Pulling without specifying how to reconcile divergent branches is
힌트: discouraged. You can squelch this message by running one of the following
힌트: commands sometime before your next pull:
힌트: 
힌트:   git config pull.rebase false  # merge (the default strategy)
힌트:   git config pull.rebase true   # rebase
힌트:   git config pull.ff only       # fast-forward only
힌트: 
힌트: You can replace "git config" with "git config --global" to set a default
힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
힌트: or --ff-only on the command line to override the configured default per
힌트: invocation.
이미 업데이트 상태입니다.
php79 stack 업데이트가 없습니다.