□ Subversion Error 내용
OPTIONS of 'YOUR_SVN_PATH': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (YOUR_SVN_PATH) |
□ 해결 방안
○ 인증서 관련 문제
1. 터미널 실행
2. 터미널 입력란에 다음과 같이 입력.
svn ls '연결하고자 하는 SVN 주소' Ex) svn ls https://12.34.56.78
* ls 는 SVN의 List 보기 명령어로 존재하는 파일구성을 볼때 사용한다.
폴더 접근을 위해 인증서가 필요한데, 위 방법을 통해 인증서를 간접적으로 얻어오는 방식으로 사용함.
3. 위 코드대로 입력하면, 해당 주소에 대한 인증이 되지 않았다는 에러메시지와 함께, 제공해주는 인증서에 대한 정보가
나옴. P를 눌러주면 아래와 같이 OS 비밀번호와 SVN에 등록된 아이디와 비밀번호를 물어 봄.
□ Subversion Error 내용
Commit failed (details follow): Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for 'YOUR_SVN_PATH' Commit failed (details follow): Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for 'YOUR_SVN_PATH' |
□ 해결방안
○ Permission (권한) 문제
- SVN 서버 관리자에게 가서 계정의 권한 정보 확인.
( 확인해보니 필자는 읽기 권한밖에 없는 아이디로 Commit 안된다고 삽질하고 있었음... = ㅠ = )
○ 인증서 문제
- 드물게 인증서 관련 문제 일수도 있음. 인증서를 삭제하고 난 다음 위에서 설명한대로 인증서를 다시 생성하면 되는 경우가 있음.
○ SVN 버그
- Cleanup을 한다음, 다시 Commit을 하면 되는 경우도 있었음.
□ Subversion Error 내용
'SELECTED_PATH' is not a working copy |
□ 해결방안
○ 디렉터리 지정 오류
- 최초에 Checkout 하지 않은 폴더 대상 밖에서 Commit을 시도할 경우 발생. ( Checkout 한 지점 재확인 )
○ SVN 버그?
- Cleanup을 한다음, 다시 Commit을 하면 되는 경우도 있었음.
General strategy when files won't commit
A good general strategy is to commit files in batches. Specifically, commit all the "modified", then all the "deleted" files, then "deleted" folders. Deleted folders are often a problem. Only after that should you ever worry about "excluding" files - as this is also often causes problems.
Obstructed
When committing, some items may have the "obstructed" status.
Fix: right-click and hit "Revert". This may help. Alternatively, remove the files from repo-browser and then add them again by committing.
Tree conflict
When committing, some items may have the "tree conflict" status.
Fix: right-click and hit "Resolved"
Entry has no URL
When committing folder deletions by right clicking "missing" files/folders and hitting delete.
Command: Commit
Error: Commit failed (details follow):
Error: Entry for 'C:\Dev\sb\BNZIntranetGame\Site\images\ui.jquery.themes' has no URL
Error: Try a 'Cleanup'. If that doesn't work you need to do a fresh checkout.
Fix: Not quite sure yet...
It seems that this could be caused by an "obstructed" folder. If this is the case, you can delete the folder from Repo Browser, then remove the folder entry from the "entries" file in the .svn folder of the parent, then commit and you will be allowed to the folder back. (In the case I have just had, this was all caused by moving a folder into a subfolder - which would have moved all the .svn subfolders too).
Working copy locked
Command: Commit
Error: Working copy 'C:\Dev\sb\BNZIntranetGame\Site' locked
Error: Please execute the 'Cleanup' command.
Fix: delete "lock" file out of the folder mentioned. (Don't bother with cleanup - it won't work!)
Can't move SVN tmp entries
Any time when trying to do a commit or update.
Error: Can't move
Error: 'C:\Dev\sb\BNZIntranetGame\Site\js\tiny_mce_3_2_6\plugins\media\langs\.svn\tmp\entries'
Error: to
Error: 'C:\Dev\sb\BNZIntranetGame\Site\js\tiny_mce_3_2_6\plugins\media\langs\.svn\entries':
Error: The file or directory is corrupted and unreadable.
Fix: just ignore it and it goes away - do a commit, then an update and it will fix it.
File not found - need to delete folder
When trying to svn delete a file and a folder and then commit.
Error: File not found: transaction '3872-3a0', path '/sb/InsureYou/Site/Views/Common/PolicyInformation.ascx'
Fix: The fix was to go into Repo Browser and create the folder that this new file is in (so in this case Views/Common), then commit again.
Cannot add to ignore list!
When trying to ignore a file in the commit dialog.
Cannot add to ignore list!
Fix: You may be trying to ignore a file that either:
a) is already in subversion - so you need to use repobrowser to delete the file first before you can ignore it
b) isn't in subversion and nor is its parent folder - in this case you need to ignore the parent folder instead of ignoring files inside it.
Commit failed. Path not present.
Error: Commit failed (details follow):
Error: While preparing
Error: 'C:\Dev\Horizon\HorizonPoll\Site\attachments\290x175_240x175\eilder-group-pedrosimones.jpg'
Error: for commit
Error: Path 'attachments' not present
Fix: Add the folder "attachments" using repo-browser and then commit again. If it is a subfolder that is not found (eg Path 'images/jqueryui' not present then you will need to first commit just the "images" folder and then create the subfolder "jqueryui" using repo-browser (don't be tempted to create both folders because "images" might actually be fine - just do a smaller commit).
Commit failed. File already exists with transaction code.
When trying to commit.
Error: Commit failed (details follow):
Error: File already exists: filesystem 'C:/beweb/SVNRepository/BewebRep/db',
Error: transaction '4785-43t', path '/projects/Edenz/fckeditor'
Fix: Export the project to a temporary place like your Desktop. Delete all files under your troublesome folder (keep the .svn folder though). Go to RepoBrowser and delete everything in that folder. Update the Working Directory - you should get nothing. Run a commit on the folder now, highlight anything that appears and right click and choose "revert". Beyond Compare the two folders, copy all files from your Desktop Exported folder back into the Working Directory, and commit.
Can't stat [filename]. Access is denied.
When trying to commit.
Can't stat [filename]. Access is denied
Fix: The problem is that Visual Studio has the file open. Close Visual Studio. Reopen and commit again.
Commit failed. Base checksum mismatch
When trying to commit
Fix: Copy all files in your project to a temporary backup folder. Click "Revert" on your original project folder. Diff changed files with the backup folder, copy your changed files into the original project folder. Commit and your original folder is back to normal. If this doesn't work, copy your project folder, delete the original, check it out again, and diff the two folders.
Working copy path does not exist in repository
When updating.
Fix: Copy all files in your project to a temporary backup folder. Delete the original folder, then check it out again from Repo Browser. Diff changed files with the backup folder, copy your changed files into the original project folder. Commit, then update.
Files to ignore
You can use the global ignores in C:\Users\Mike\AppData\Roaming\Subversion\config
Add this line below (without a hash):
global-ignores = *.cache *.suo *.user *.db *BewebCore.dll *SavvyMVC.dll *Site.dll _ReSharper* .svn obj *.pdb bin-pub
These files should be ignored:
BewebCore/bin/Debug/BewebCore.dll
BewebCore/bin/Release/BewebCore.dll
BewebCore/obj/Debug/BewebCore.dll
BewebCore/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
BewebCore/obj/Debug/ResolveAssemblyReference.cache
BewebCore/obj/Release/BewebCore.dll
BewebCore/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
BewebCore/SavvyCore.csproj.user
Site.5.0.ReSharper.user
Site.suo
SavvyMVC/bin/Debug/BewebCore.dll
SavvyMVC/bin/Debug/SavvyMVC.dll
SavvyMVC/bin/Release/BewebCore.dll
SavvyMVC/bin/Release/SavvyMVC.dll
SavvyMVC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
SavvyMVC/obj/Debug/ResolveAssemblyReference.cache
SavvyMVC/obj/Debug/SavvyMVC.dll
SavvyMVC/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
SavvyMVC/obj/Release/ResolveAssemblyReference.cache
SavvyMVC/obj/Release/SavvyMVC.dll
Site/bin/BewebCore.dll
Site/bin/SavvyMVC.dll
Site/bin/Site.dll
Site/images/filetypes/Thumbs.db
Site/images/Thumbs.db
Site/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Site/obj/Debug/ResolveAssemblyReference.cache
Site/obj/Debug/Site.dll
Site/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Site/obj/Release/ResolveAssemblyReference.cache
Site/obj/Release/Site.dll
Site/Site.csproj.user
Visual Studio 2010
Visual Studio 2010/Backup Files
Visual Studio 2010/Backup Files/HorizonPoll
Visual Studio 2010/StartPages
:: 참고 링크 ::
SCPlugin 설치 및 사용방법
SCPlugin 설치 및 사용방법2
Error 403 Forbidden에 관한 포럼 스레드
Authorization Failed
SVN 에러 (영문)
* 폭풍에러에 멘탈이 붕괴직전까지 갔지만... 무료니까 봐줌...