can not delete git repository

Asked by Michael

can not delete lp:cde-desktop, which I owned

Question information

Language:
English Edit question
Status:
Expired
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

What happens when you try to delete it? Do you get some kind of error code? If so, what is it, please?

Revision history for this message
Michael (steelm) said (last edit ):
#2

1) What happens when you try to delete it?Do you get some kind of error code?
on webbrowser click “Delete repository”, get errors like below:

Server Error: TransactionFailedError
Request-Id 496e06f4-6582-49d3-9fe2-559357690fa1
[traceback hidden]

Request Headers
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh-Hans;q=0.9
Connection close
Cookie lp=NQzRHMGzN7bfYhwevRSZS1DZxDElD38katI-w3ETBUq651OSU.USkQ
Host code.launchpad.net
Origin https://code.launchpad.net
Referer https://code.launchpad.net/~steelm/cde-desktop/+git/cde-desktop/+delete
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1
X-Forwarded-For 120.245.70.35
X-Forwarded-Host code.launchpad.net
X-Forwarded-Server wildcard.launchpad.net
X-Request-Id 496e06f4-6582-49d3-9fe2-559357690fa1
WSGI Environ
ACCESS_ROUTE ['120.245.70.35']
CLIENT_ADDR 120.245.70.35
CONTENT_LENGTH 168
CONTENT_TYPE multipart/form-data; boundary=----WebKitFormBoundaryoXTm1F5dsYsMV5Nf
HTTPS on
PATH_INFO /~steelm/cde-desktop/+git/cde-desktop/+delete
QUERY_STRING
RAW_URI /~steelm/cde-desktop/+git/cde-desktop/+delete
REMOTE_ADDR 10.131.66.248
REMOTE_PORT 36044
REQUEST_ID 496e06f4-6582-49d3-9fe2-559357690fa1
REQUEST_METHOD POST
SCRIPT_NAME
SENTRY_ID 7b9f763df8704d619747bc7db357e2ad
SERVER_NAME 0.0.0.0
SERVER_PORT 10001
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE gunicorn/19.8.1
gunicorn.socket <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('91.189.90.19', 10001), raddr=('10.131.66.248', 36044)>
launchpad.pageid GitRepository:+delete
requests <requests.sessions.Session object at 0x7f60a74dd0b8>
start_time 1659478560.2318773
statsd <talisker.statsd.DummyClient object at 0x7f60a7cf2518>
werkzeug.request <Request 'http://code.launchpad.net/~steelm/cde-desktop/%2Bgit/cde-desktop/%2Bdelete' [POST]>
wsgi.errors <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f608fb5aef0>
wsgi.file_wrapper <class 'gunicorn.http.wsgi.FileWrapper'>
wsgi.input <gunicorn.http.body.Body object at 0x7f60904a3320>
wsgi.multiprocess True
wsgi.multithread False
wsgi.run_once False
wsgi.url_scheme http
wsgi.version (1, 0)

2) try to push changes into repository, always report error “Permission denied”:
GIT_TRACE=1 git push origin master
13:47:05.171287 git.c:455 trace: built-in: git push origin master
13:47:05.172524 run-command.c:668 trace: run_command: unset GIT_PREFIX; ssh <email address hidden> 'git-receive-pack '\''/cde-desktop'\'''
fatal: remote error: Permission denied.

git conf:
[core]
 repositoryformatversion = 0
 filemode = true
 bare = false
 logallrefupdates = true
[remote "origin"]
 url = git+ssh://<email address hidden>/cde-desktop
 fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
 remote = origin
 merge = refs/heads/master

Revision history for this message
Michael (steelm) said :
#3
Revision history for this message
Ioana Lasc (ilasc) said :
#4

Hi Michael
Sorry about the delay in response here, I'm now looking at this, can you please try another deletion today and please drop me a line on this question so I know to look at recent logs and start investigating ?
Thanks

Revision history for this message
Michael (steelm) said :
#5

Server Error: TransactionFailedError
Request-Id 6e27dad1-efb5-4395-b06b-e9c758fceca5
[traceback hidden]

Request Headers
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding gzip, deflate, br
Accept-Language zh-CN,zh;q=0.9,en;q=0.8
Cache-Control max-age=0
Connection close
Cookie _ga=GA1.2.945808876.1658288398; lp=2KOPwbo0FZz7cZBxQ3xqg5n0RukmwHPI4PDsRfejO2RBYvcntmWJm8
Host code.launchpad.net
Origin https://code.launchpad.net
Referer https://code.launchpad.net/~steelm/cde-desktop/+git/cde-desktop/+delete
Sec-Ch-Ua ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"
Sec-Ch-Ua-Mobile ?0
Sec-Ch-Ua-Platform "macOS"
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site same-origin
Sec-Fetch-User ?1
Upgrade-Insecure-Requests 1
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
X-Forwarded-For 103.37.140.21
X-Forwarded-Host code.launchpad.net
X-Forwarded-Server wildcard.launchpad.net
X-Request-Id 6e27dad1-efb5-4395-b06b-e9c758fceca5
WSGI Environ
ACCESS_ROUTE ['103.37.140.21']
CLIENT_ADDR 103.37.140.21
CONTENT_LENGTH 168
CONTENT_TYPE multipart/form-data; boundary=----WebKitFormBoundarydIhheRHd7uoFm58p
HTTPS on
PATH_INFO /~steelm/cde-desktop/+git/cde-desktop/+delete
QUERY_STRING
RAW_URI /~steelm/cde-desktop/+git/cde-desktop/+delete
REMOTE_ADDR 10.131.66.248
REMOTE_PORT 50278
REQUEST_ID 6e27dad1-efb5-4395-b06b-e9c758fceca5
REQUEST_METHOD POST
SCRIPT_NAME
SENTRY_ID e7f831d65fce4982916380bd68d8f01a
SERVER_NAME 0.0.0.0
SERVER_PORT 10001
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE gunicorn/19.8.1
gunicorn.socket <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('91.189.90.18', 10001), raddr=('10.131.66.248', 50278)>
launchpad.pageid GitRepository:+delete
requests <requests.sessions.Session object at 0x7f0119253fd0>
start_time 1660308100.602066
statsd <talisker.statsd.DummyClient object at 0x7f0119615d68>
werkzeug.request <Request 'http://code.launchpad.net/~steelm/cde-desktop/%2Bgit/cde-desktop/%2Bdelete' [POST]>
wsgi.errors <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f0103240358>
wsgi.file_wrapper <class 'gunicorn.http.wsgi.FileWrapper'>
wsgi.input <gunicorn.http.body.Body object at 0x7f01031b4518>
wsgi.multiprocess True
wsgi.multithread False
wsgi.run_once False
wsgi.url_scheme http
wsgi.version (1, 0)
Response Headers

Revision history for this message
Ioana Lasc (ilasc) said :
#6

Thanks Michael

Attempt to find an oops in the logs failed, this is all I can see related:

2022-08-12 12:41:41.004Z INFO talisker.wsgi "POST /~steelm/cde-desktop/+git/cde-desktop/+delete" method=POST path=/~steelm/cde-desktop/+git/cde-desktop/+delete status=500 duration_ms=400.837 proto=HTTP/1.1 length=4935 request_length=168 request_type="multipart/form-data; boundary=----WebKitFormBoundarydIhheRHd7uoFm58p" referrer=https://code.launchpad.net/~steelm/cde-desktop/+git/cde-desktop/+delete ua="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" exc_type=TransactionFailedError logging_count=5 logging_time_ms=0.6990000000000001 nonpython_actions=63 sql_ms=260 sql_statements=61 publication_thread_duration_ms=88.097 publication_duration_ms=312.654 userid="10641699" traversal_thread_duration_ms=50.347 traversal_duration_ms=61.42 pageid=GitRepository:+delete scheme=https host=code.launchpad.net request_id=6e27dad1-efb5-4395-b06b-e9c758fceca5

Adding this for the person looking at this ticket next week.

Revision history for this message
Michael (steelm) said :
#7

thanks ilasc!

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.