forge_federation

tests forges for federation capabilities

Tests

[OK] webfinger

Logs

[OK] test_main_params
[OK] test_links
[OK] test_subject
[OK] test_access_control_allow_origin

Container Logs: forge_federation---webfinger--i6ksM

STDOUT
TEST USER: alice@forgejo


===============
All tests passed
Summary:

Successful tests:

[OK] test_main_params

[OK] test_links

[OK] test_subject

[OK] test_access_control_allow_origin

STDERR
2023-10-04 19:16:09,340 - webfinger - INFO - Environment: FTEST_AUTH: i6ksMGzU4WOpfWGPpdtMphsbPdvIKRa6
2023-10-04 19:16:09,340 - webfinger - INFO - Environment: FTEST_HOST: http://ftest:80
2023-10-04 19:16:09,341 - webfinger - INFO - Environment: FTEST_TARGET_HOST: http://forgejo/
2023-10-04 19:16:09,341 - webfinger - INFO - Environment: FTEST_USER: alice@forgejo
2023-10-04 19:16:09,341 - webfinger - INFO - Query WebFinger: http://forgejo/.well-known/webfinger?resource=acct:alice@forgejo
2023-10-04 19:16:09,344 - webfinger - DEBUG - WebFinger response:

STATUS: 200

HEADERS:
{'Access-Control-Allow-Origin': '*', 'Cache-Control': 'max-age=0, private, must-revalidate, no-transform', 'Content-Type': 'application/json;charset=utf-8', 'Set-Cookie': 'i_like_gitea=c65bcc2b53c0397e; Path=/; HttpOnly; SameSite=Lax, _csrf=3jbWXsZO_310HKDxuyQchV488AY6MTY5NjQ0Njk2OTM0MzAyOTg1NQ; Path=/; Max-Age=86400; HttpOnly; SameSite=Lax', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Wed, 04 Oct 2023 19:16:09 GMT', 'Content-Length': '482'}

RESPONSE PAYLOAD:
{'subject': 'acct:alice@forgejo', 'aliases': ['http://forgejo/alice', 'http://forgejo/api/v1/activitypub/user-id/3', 'mailto:alice@example.org'], 'links': [{'rel': 'http://webfinger.net/rel/profile-page', 'type': 'text/html', 'href': 'http://forgejo/alice'}, {'rel': 'http://webfinger.net/rel/avatar', 'href': 'https://secure.gravatar.com/avatar/fbf7c6aec1d4280b7c2704c1c0478bd6?d=identicon'}, {'rel': 'self', 'type': 'application/activity+json', 'href': 'http://forgejo/api/v1/activitypub/user-id/3'}]}
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCCESS] WebFinger query response is HTTP 200
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCCESS] WebFinger response has 'subject', 'aliases' and 'links' parameters
2023-10-04 19:16:09,344 - webfinger - DEBUG - 'rel==http://webfinger.net/rel/profile-page' is present in 'links' WebFinger response parameter
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCESS] rel==self passed schema validation
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCESS] rel==profile-page passed schema validation
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCESS] 'links' object passed validation
2023-10-04 19:16:09,344 - webfinger - INFO - [SUCESS] WebFinger endpoint is configured correctly for CORS
2023-10-04 19:16:09,344 - webfinger - INFO - Uploading logs to ftest server http://ftest:80/api/v1/i6ksMGzU4WOpfWGPpdtMphsbPdvIKRa6/results
2023-10-04 19:16:09,347 - webfinger - INFO - Upload successful

[OK] activitypub_test

Logs

[OK] verify_obj_attrs
[OK] verify_id_resolves
[OK] ctx_is_ap

Container Logs: forge_federation---activitypub_test--GAf1w

STDOUT
Feature: ActivityPub Object # features/object.feature:1
ActivityPub Object as defined in https://www.w3.org/TR/activitypub/#obj-id
Scenario: # features/object.feature:4
Given A Fediverse server # features/steps/object.py:17
When Receiving or querying an object # features/steps/object.py:33
Then the response must contain an 'id' and a 'type' parameter # features/steps/object.py:40
And The 'id' must resolve to the same object # features/steps/object.py:55
And context must be ActivityPub # features/steps/object.py:68



===============
All tests passed
Summary:

Successful tests:

[OK] verify_obj_attrs

[OK] verify_id_resolves

[OK] ctx_is_ap



Failed tests:

1 feature passed, 0 failed, 0 skipped
1 scenario passed, 0 failed, 0 skipped
5 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m0.254s
STDERR
2023-10-04 19:16:16,329 - ap - INFO - Environment: FTEST_AUTH: GAf1wDjXd8Uu1h7fkbEroQuFjiSUdnyt
2023-10-04 19:16:16,330 - ap - INFO - Environment: FTEST_HOST: http://ftest:80
2023-10-04 19:16:16,330 - ap - INFO - Environment: FTEST_USER: alice@forgejo
2023-10-04 19:16:16,330 - ap - INFO - Environment: FTEST_TARGET_HOST: http://forgejo/
2023-10-04 19:16:16,332 - ap - INFO - Query webfinger: http://forgejo/.well-known/webfinger?resource=acct:alice@forgejo
2023-10-04 19:16:16,335 - ap - DEBUG - webfinger response:

STATUS: 200

HEADERS:
{'Access-Control-Allow-Origin': '*', 'Cache-Control': 'max-age=0, private, must-revalidate, no-transform', 'Content-Type': 'application/json;charset=utf-8', 'Set-Cookie': 'i_like_gitea=63d224a031673b4e; Path=/; HttpOnly; SameSite=Lax, _csrf=oVeesh-9LHROlA_mhwjIJs4gHpM6MTY5NjQ0Njk3NjMzNDYwMDUzNQ; Path=/; Max-Age=86400; HttpOnly; SameSite=Lax', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Wed, 04 Oct 2023 19:16:16 GMT', 'Content-Length': '482'}

RESPONSE PAYLOAD:
{'subject': 'acct:alice@forgejo', 'aliases': ['http://forgejo/alice', 'http://forgejo/api/v1/activitypub/user-id/3', 'mailto:alice@example.org'], 'links': [{'rel': 'http://webfinger.net/rel/profile-page', 'type': 'text/html', 'href': 'http://forgejo/alice'}, {'rel': 'http://webfinger.net/rel/avatar', 'href': 'https://secure.gravatar.com/avatar/fbf7c6aec1d4280b7c2704c1c0478bd6?d=identicon'}, {'rel': 'self', 'type': 'application/activity+json', 'href': 'http://forgejo/api/v1/activitypub/user-id/3'}]}
2023-10-04 19:16:16,335 - ap - INFO - [SUCCESS] webfinger query response is HTTP 200
2023-10-04 19:16:16,335 - ap - INFO - Actor URL http://forgejo/api/v1/activitypub/user-id/3
2023-10-04 19:16:16,336 - ap - INFO - Getting object: http://forgejo/api/v1/activitypub/user-id/3
2023-10-04 19:16:16,584 - ap - DEBUG - AP server response:

STATUS: 200

HEADERS:
{'Cache-Control': 'max-age=0, private, must-revalidate, no-transform', 'Content-Type': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Wed, 04 Oct 2023 19:16:16 GMT', 'Content-Length': '1073'}

RESPONSE PAYLOAD:
{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1"],"id":"http://forgejo/api/v1/activitypub/user-id/3","type":"Person","icon":{"type":"Image","mediaType":"image/png","url":"https://secure.gravatar.com/avatar/fbf7c6aec1d4280b7c2704c1c0478bd6?d=identicon"},"url":"http://forgejo/alice","inbox":"http://forgejo/api/v1/activitypub/user-id/3/inbox","outbox":"http://forgejo/api/v1/activitypub/user-id/3/outbox","preferredUsername":"alice","publicKey":{"id":"http://forgejo/api/v1/activitypub/user-id/3#main-key","owner":"http://forgejo/api/v1/activitypub/user-id/3","publicKeyPem":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvUdFeRSW7E3292yqs8o3\npjWYjsKWkCnE03WwRGIlD58rrYRuGc7Q/QWDok+6xtI62Scw+odHZk5j7+eu41kT\nYtYCZ5vyOCEphO/2Y33oWy9ghCnh6AW87EI7wEBuON+fTQf1+P69yDMcIU1IqYIL\nxVDiXlu8/OdxPwHFl4GI3nZ1dJwk4fRj12Y3KiTcqs2gh05xMzGUezlA4hKjOeMC\nA7owfPnKhI6rMDaF+FAewjI1Cojx39iUMOiqYe01gjsbLV2MllKoSBtO9ed7yoAY\nd7ZhKH7Xprcr2i2RwC34KKOB31FyaMUIY0VUVSI1PDR1jSIuPbDFunaKI/aR2IQ4\nLQIDAQAB\n-----END PUBLIC KEY-----\n"}}
2023-10-04 19:16:16,584 - ap - INFO - Getting object: http://forgejo/api/v1/activitypub/user-id/3
2023-10-04 19:16:16,586 - ap - DEBUG - AP server response:

STATUS: 200

HEADERS:
{'Cache-Control': 'max-age=0, private, must-revalidate, no-transform', 'Content-Type': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Wed, 04 Oct 2023 19:16:16 GMT', 'Content-Length': '1073'}

RESPONSE PAYLOAD:
{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1"],"id":"http://forgejo/api/v1/activitypub/user-id/3","type":"Person","icon":{"type":"Image","mediaType":"image/png","url":"https://secure.gravatar.com/avatar/fbf7c6aec1d4280b7c2704c1c0478bd6?d=identicon"},"url":"http://forgejo/alice","inbox":"http://forgejo/api/v1/activitypub/user-id/3/inbox","outbox":"http://forgejo/api/v1/activitypub/user-id/3/outbox","preferredUsername":"alice","publicKey":{"id":"http://forgejo/api/v1/activitypub/user-id/3#main-key","owner":"http://forgejo/api/v1/activitypub/user-id/3","publicKeyPem":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvUdFeRSW7E3292yqs8o3\npjWYjsKWkCnE03WwRGIlD58rrYRuGc7Q/QWDok+6xtI62Scw+odHZk5j7+eu41kT\nYtYCZ5vyOCEphO/2Y33oWy9ghCnh6AW87EI7wEBuON+fTQf1+P69yDMcIU1IqYIL\nxVDiXlu8/OdxPwHFl4GI3nZ1dJwk4fRj12Y3KiTcqs2gh05xMzGUezlA4hKjOeMC\nA7owfPnKhI6rMDaF+FAewjI1Cojx39iUMOiqYe01gjsbLV2MllKoSBtO9ed7yoAY\nd7ZhKH7Xprcr2i2RwC34KKOB31FyaMUIY0VUVSI1PDR1jSIuPbDFunaKI/aR2IQ4\nLQIDAQAB\n-----END PUBLIC KEY-----\n"}}
2023-10-04 19:16:16,587 - ap - INFO - Uploading logs to ftest server http://ftest:80/api/v1/GAf1wDjXd8Uu1h7fkbEroQuFjiSUdnyt/results
2023-10-04 19:16:16,589 - ap - INFO - Upload successful

[OK] nodeinfo

Logs

[OK] test_links
[OK] test_schema_Nodeinfo_2.1

Container Logs: forge_federation---nodeinfo--TyRZ5

STDOUT


===============
STDERR
2023-10-04 19:16:13,143 - nodeinfo - INFO - Environment: FTEST_AUTH: TyRZ5El0Rk9c93ARwuMWZzDhUQxrNzbm
2023-10-04 19:16:13,143 - nodeinfo - INFO - Environment: FTEST_HOST: http://ftest:80
2023-10-04 19:16:13,143 - nodeinfo - INFO - Environment: FTEST_TARGET_HOST: http://forgejo/
2023-10-04 19:16:13,143 - nodeinfo - INFO - Query nodeinfo: http://forgejo/.well-known/nodeinfo
2023-10-04 19:16:13,148 - nodeinfo - DEBUG - nodeinfo response:

STATUS: 200

HEADERS:
{'Cache-Control': 'max-age=0, private, must-revalidate, no-transform', 'Content-Type': 'application/json;charset=utf-8', 'Set-Cookie': 'i_like_gitea=34cd30f2d1b3edb3; Path=/; HttpOnly; SameSite=Lax, _csrf=eLGBQu28CP3MuLZ-YxL3a_sSlZc6MTY5NjQ0Njk3MzE0NzQ5NDkxNQ; Path=/; Max-Age=86400; HttpOnly; SameSite=Lax', 'X-Frame-Options': 'SAMEORIGIN', 'Date': 'Wed, 04 Oct 2023 19:16:13 GMT', 'Content-Length': '110'}

RESPONSE PAYLOAD:
{'links': [{'href': 'http://forgejo/api/v1/nodeinfo', 'rel': 'http://nodeinfo.diaspora.software/ns/schema/2.1'}]}
2023-10-04 19:16:13,148 - nodeinfo - INFO - [SUCCESS] nodeinfo query response is HTTP 200
2023-10-04 19:16:13,148 - nodeinfo - INFO - [SUCESS] links passed schema validation
2023-10-04 19:16:13,900 - nodeinfo - INFO - [SUCESS] passed Nodeinfo 2.1 schema validation
2023-10-04 19:16:13,901 - nodeinfo - INFO - All tests passed
2023-10-04 19:16:13,901 - nodeinfo - INFO - Summary:

2023-10-04 19:16:13,901 - nodeinfo - INFO - Successful tests:

2023-10-04 19:16:13,901 - nodeinfo - INFO - [OK] test_links

2023-10-04 19:16:13,901 - nodeinfo - INFO - [OK] test_schema_Nodeinfo_2.1

2023-10-04 19:16:13,901 - nodeinfo - INFO - Uploading logs to ftest server http://ftest:80/api/v1/TyRZ5El0Rk9c93ARwuMWZzDhUQxrNzbm/results
2023-10-04 19:16:13,903 - nodeinfo - INFO - Upload successful

Initialization Workflow

[OK] forgejo-init-script--JXOQ4

STDOUT

All Good! :)

STDERR

+ source lib.sh
++ is_ci
++ '[' -z x ']'
++ return 0
++ mkdir /tmp/forgejo-init-script
++ FORGEJO_USER1_ACCESS_TOKEN_FILE_PATH=/tmp/forgeo-init-scrit/user1-accesstoken.json
++ readonly FORGEJO_ROOT_USERNAME=root
++ FORGEJO_ROOT_USERNAME=root
++ readonly FORGEJO_ROOT_EMAIL=root@example.org
++ FORGEJO_ROOT_EMAIL=root@example.org
++ readonly FORGEJO_ROOT_PASSOWRD=supercomplicatedpassword
++ FORGEJO_ROOT_PASSOWRD=supercomplicatedpassword
++ readonly FORGEJO_USER1_USERNAME=john
++ FORGEJO_USER1_USERNAME=john
++ readonly FORGEJO_USER1_PASSWORD=supercomplicatedpassword
++ FORGEJO_USER1_PASSWORD=supercomplicatedpassword
++ readonly FORGEJO_USER1_EMAIL=john@example.org
++ FORGEJO_USER1_EMAIL=john@example.org
++ readonly FORGEJO_USER1_SUPPORT_REPO=test_repo
++ FORGEJO_USER1_SUPPORT_REPO=test_repo
++ readonly FORGEJO_USER1_ACCESS_TOKEN_NAME=coreaccesstoken
++ FORGEJO_USER1_ACCESS_TOKEN_NAME=coreaccesstoken
++ rm /tmp/forgeo-init-scrit/user1-accesstoken.json
rm: cannot remove '/tmp/forgeo-init-scrit/user1-accesstoken.json': No such file or directory
++ true
++ readonly FORGEJO_TESTUSER_USERNAME=alice
++ FORGEJO_TESTUSER_USERNAME=alice
++ readonly FORGEJO_TESTUSER_PASSWORD=supercomplicatedpassword
++ FORGEJO_TESTUSER_PASSWORD=supercomplicatedpassword
++ readonly FORGEJO_TESTUSER_EMAIL=alice@example.org
++ FORGEJO_TESTUSER_EMAIL=alice@example.org
+ main
+ wait_for_env
+ python -m forgejo check_env http://forgejo
2023-10-04 19:15:59,281 - forgejo-installer - INFO - Retrying 0 time
+ forgejo_root
+ python -m forgejo forgejo register root supercomplicatedpassword root@example.org http://forgejo
+ python -m forgejo forgejo login root supercomplicatedpassword root@example.org http://forgejo
2023-10-04 19:16:00,008 - forgejo-installer - INFO - User logged in
+ init_users_repo
+ python -m forgejo forgejo register john supercomplicatedpassword john@example.org http://forgejo
+ python -m forgejo forgejo login john supercomplicatedpassword john@example.org http://forgejo
2023-10-04 19:16:00,634 - forgejo-installer - INFO - User logged in
+ python -m forgejo forgejo create_repo john supercomplicatedpassword john@example.org http://forgejo test_repo
2023-10-04 19:16:00,903 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:01,134 - forgejo-installer - INFO - Created repository test_repo
+ python -m forgejo forgejo register alice supercomplicatedpassword alice@example.org http://forgejo
+ python -m forgejo forgejo create_issue alice supercomplicatedpassword john@example.org http://forgejo john test_repo 'normal issue title' 'normal issue body'
2023-10-04 19:16:01,738 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:01,866 - forgejo-installer - INFO - Created issue
+ python -m forgejo forgejo create_comment alice supercomplicatedpassword john@example.org http://forgejo john test_repo 1 'normal body'
2023-10-04 19:16:02,140 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:02,387 - forgejo-installer - INFO - Created comment
+ python -m forgejo forgejo create_comment alice supercomplicatedpassword john@example.org http://forgejo john test_repo 1 'mention body @john'
2023-10-04 19:16:02,656 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:02,835 - forgejo-installer - INFO - Created comment
+ python -m forgejo forgejo create_issue alice supercomplicatedpassword john@example.org http://forgejo john test_repo 'normal issue title' 'mention issue @john'
2023-10-04 19:16:03,114 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:03,274 - forgejo-installer - INFO - Created issue
+ python -m forgejo forgejo create_issue alice supercomplicatedpassword john@example.org http://forgejo john test_repo 'mention issue @john' 'normal issue body'
2023-10-04 19:16:03,541 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:03,739 - forgejo-installer - INFO - Created issue
+ python -m forgejo forgejo create_issue alice supercomplicatedpassword john@example.org http://forgejo john test_repo 'mention issue @john' 'mention issue @john'
2023-10-04 19:16:04,006 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:04,165 - forgejo-installer - INFO - Created issue
+ python -m forgejo forgejo create_issue alice supercomplicatedpassword john@example.org http://forgejo john test_repo 'normal issue title and normal body' 'normal body'
2023-10-04 19:16:04,443 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:04,614 - forgejo-installer - INFO - Created issue
+ python -m forgejo forgejo create_access_token john supercomplicatedpassword john@example.org http://forgejo coreaccesstoken /tmp/forgeo-init-scrit/user1-accesstoken.json test_repo
2023-10-04 19:16:04,912 - forgejo-installer - INFO - User logged in
2023-10-04 19:16:05,132 - forgejo-installer - INFO - Created access token
2023-10-04 19:16:05,132 - forgejo-installer - INFO - Wrote access token to /tmp/forgeo-init-scrit/user1-accesstoken.json
+ echo 'All Good! :)'
+ exit 0

Specimen Logs

forgejo

STDOUT

Generating /data/ssh/ssh_host_ed25519_key...
Generating /data/ssh/ssh_host_rsa_key...
Generating /data/ssh/ssh_host_ecdsa_key...
2023/10/05 00:45:52 cmd/web.go:223:runWeb() [I] Starting Gitea on PID: 17
2023/10/05 00:45:52 cmd/web.go:148:serveInstalled() [I] Gitea version: 1.20.4+1 built with GNU Make 4.4.1, go1.20.8 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2023/10/05 00:45:52 cmd/web.go:149:serveInstalled() [I] App path: /usr/local/bin/gitea
2023/10/05 00:45:52 cmd/web.go:150:serveInstalled() [I] Work path: /data/gitea
2023/10/05 00:45:52 cmd/web.go:151:serveInstalled() [I] Custom path: /data/gitea
2023/10/05 00:45:52 cmd/web.go:152:serveInstalled() [I] Config file: /data/gitea/conf/app.ini
2023/10/05 00:45:52 cmd/web.go:153:serveInstalled() [I] Run mode: prod
2023/10/05 00:45:52 cmd/web.go:154:serveInstalled() [I] Prepare to run web server
Server listening on :: port 22.
Server listening on 0.0.0.0 port 22.
2023/10/05 00:45:52 routers/init.go:113:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/gitea/home)
2023/10/05 00:45:52 ...les/setting/cache.go:75:loadCacheFrom() [I] Cache Service Enabled
2023/10/05 00:45:52 ...les/setting/cache.go:90:loadCacheFrom() [I] Last Commit Cache Service Enabled
2023/10/05 00:45:52 ...s/setting/session.go:74:loadSessionFrom() [I] Session Service Enabled
2023/10/05 00:45:52 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/attachments
2023/10/05 00:45:52 ...s/storage/storage.go:166:initAvatars() [I] Initialising Avatar storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/avatars
2023/10/05 00:45:52 ...s/storage/storage.go:192:initRepoAvatars() [I] Initialising Repository Avatar storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-avatars
2023/10/05 00:45:52 ...s/storage/storage.go:186:initLFS() [I] Initialising LFS storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/git/lfs
2023/10/05 00:45:52 ...s/storage/storage.go:198:initRepoArchives() [I] Initialising Repository Archive storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-archive
2023/10/05 00:45:52 ...s/storage/storage.go:208:initPackages() [I] Initialising Packages storage with type: local
2023/10/05 00:45:52 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/packages
2023/10/05 00:45:52 routers/init.go:131:InitWebInstalled() [I] SQLite3 support is enabled
2023/10/05 00:45:52 routers/common/db.go:21:InitDBEngine() [I] Beginning ORM engine initialization.
2023/10/05 00:45:52 routers/common/db.go:28:InitDBEngine() [I] ORM engine initialization attempt #1/10...
2023/10/05 00:45:52 cmd/web.go:175:serveInstalled() [I] PING DATABASE sqlite3
2023/10/05 00:45:56 routers/init.go:137:InitWebInstalled() [I] ORM engine initialization successful!
2023/10/05 00:45:58 ...er/issues/indexer.go:156:func2() [I] PID 17: Initializing Issue Indexer: bleve
2023/10/05 00:45:58 ...xer/stats/indexer.go:38:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories
2023/10/05 00:45:58 routers/init.go:82:syncAppConfForGit() [I] AppPath changed from '' to '/usr/local/bin/gitea'
2023/10/05 00:45:58 routers/init.go:87:syncAppConfForGit() [I] CustomConf changed from '' to '/data/gitea/conf/app.ini'
2023/10/05 00:45:58 routers/init.go:93:syncAppConfForGit() [I] re-sync repository hooks ...
2023/10/05 00:45:58 routers/init.go:96:syncAppConfForGit() [I] re-write ssh public keys ...
2023/10/05 00:45:58 ...er/issues/indexer.go:246:func3() [I] Issue Indexer Initialization took 88.075265ms
2023/10/05 00:45:58 cmd/web.go:285:listen() [I] Listen: http://0.0.0.0:80
2023/10/05 00:45:58 cmd/web.go:289:listen() [I] AppURL(ROOT_URL): http://forgejo/
2023/10/05 00:45:58 cmd/web.go:292:listen() [I] LFS server enabled
2023/10/05 00:45:58 ...s/graceful/server.go:62:NewServer() [I] Starting new Web server: tcp:0.0.0.0:80 on PID: 17
2023/10/05 00:45:59 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for 192.168.32.4:32928, 200 OK in 2.4ms @ web/home.go:32(web.Home)
2023/10/05 00:45:59 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/sign_up for 192.168.32.4:32942, 200 OK in 3.6ms @ auth/auth.go:390(auth.SignUp)
2023/10/05 00:45:59 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/sign_up for 192.168.32.4:32942, 303 See Other in 310.9ms @ auth/auth.go:405(auth.SignUpPost)
2023/10/05 00:45:59 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:32952, 200 OK in 1.7ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:32952, 303 See Other in 185.6ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/sign_up for 192.168.32.4:32962, 200 OK in 1.1ms @ auth/auth.go:390(auth.SignUp)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/sign_up for 192.168.32.4:32962, 303 See Other in 231.1ms @ auth/auth.go:405(auth.SignUpPost)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:32970, 200 OK in 1.2ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:32970, 303 See Other in 177.7ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:32984, 200 OK in 1.3ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:00 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:32984, 303 See Other in 159.5ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/user for 192.168.32.4:32984, 200 OK in 130.2ms @ user/user.go:109(user.GetAuthenticatedUser)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /repo/create for 192.168.32.4:32984, 200 OK in 5.2ms @ repo/repo.go:149(repo.Create)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed POST /repo/create for 192.168.32.4:32984, 303 See Other in 82.3ms @ repo/repo.go:217(repo.CreatePost)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/sign_up for 192.168.32.4:32994, 200 OK in 1.0ms @ auth/auth.go:390(auth.SignUp)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/sign_up for 192.168.32.4:32994, 303 See Other in 236.2ms @ auth/auth.go:405(auth.SignUpPost)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33008, 200 OK in 1.3ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33008, 303 See Other in 147.7ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/new for 192.168.32.4:33008, 200 OK in 8.9ms @ repo/issue.go:880(repo.NewIssue)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/new for 192.168.32.4:33008, 303 See Other in 112.6ms @ repo/issue.go:1130(repo.NewIssuePost)
2023/10/05 00:46:01 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33016, 200 OK in 1.3ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33016, 303 See Other in 165.2ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/1 for 192.168.32.4:33016, 200 OK in 114.8ms @ repo/issue.go:1273(repo.ViewIssue)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/1/comments for 192.168.32.4:33016, 303 See Other in 123.4ms @ repo/issue.go:2777(repo.NewComment)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33032, 200 OK in 1.2ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33032, 303 See Other in 160.0ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/1 for 192.168.32.4:33032, 200 OK in 9.2ms @ repo/issue.go:1273(repo.ViewIssue)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/1/comments for 192.168.32.4:33032, 303 See Other in 161.0ms @ repo/issue.go:2777(repo.NewComment)
2023/10/05 00:46:02 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33036, 200 OK in 1.2ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33036, 303 See Other in 167.9ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/new for 192.168.32.4:33036, 200 OK in 6.2ms @ repo/issue.go:880(repo.NewIssue)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/new for 192.168.32.4:33036, 303 See Other in 148.1ms @ repo/issue.go:1130(repo.NewIssuePost)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33040, 200 OK in 1.2ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33040, 303 See Other in 158.7ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/new for 192.168.32.4:33040, 200 OK in 6.1ms @ repo/issue.go:880(repo.NewIssue)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/new for 192.168.32.4:33040, 303 See Other in 185.6ms @ repo/issue.go:1130(repo.NewIssuePost)
2023/10/05 00:46:03 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33046, 200 OK in 1.5ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33046, 303 See Other in 157.6ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/new for 192.168.32.4:33046, 200 OK in 6.0ms @ repo/issue.go:880(repo.NewIssue)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/new for 192.168.32.4:33046, 303 See Other in 147.6ms @ repo/issue.go:1130(repo.NewIssuePost)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33048, 200 OK in 1.2ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33048, 303 See Other in 169.0ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed GET /john/test_repo/issues/new for 192.168.32.4:33048, 200 OK in 6.3ms @ repo/issue.go:880(repo.NewIssue)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed POST /john/test_repo/issues/new for 192.168.32.4:33048, 303 See Other in 158.6ms @ repo/issue.go:1130(repo.NewIssuePost)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login for 192.168.32.4:33054, 200 OK in 1.1ms @ auth/auth.go:141(auth.SignIn)
2023/10/05 00:46:04 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.32.4:33054, 303 See Other in 190.2ms @ auth/auth.go:170(auth.SignInPost)
2023/10/05 00:46:05 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/v1/users/john/tokens for 192.168.32.4:33070, 201 Created in 217.6ms @ user/app.go:75(user.CreateAccessToken)
2023/10/05 00:46:09 ...eb/routing/logger.go:102:func1() [I] router: completed GET /.well-known/webfinger?resource=acct:alice@forgejo for 192.168.32.4:45660, 200 OK in 0.6ms @ web/webfinger.go:37(web.WebfingerQuery)
2023/10/05 00:46:13 ...eb/routing/logger.go:102:func1() [I] router: completed GET /.well-known/nodeinfo for 192.168.32.4:45676, 200 OK in 0.2ms @ web/nodeinfo.go:24(web.NodeInfoLinks)
2023/10/05 00:46:13 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/nodeinfo for 192.168.32.4:45686, 200 OK in 0.8ms @ misc/nodeinfo.go:20(misc.NodeInfo)
2023/10/05 00:46:16 ...eb/routing/logger.go:102:func1() [I] router: completed GET /.well-known/webfinger?resource=acct:alice@forgejo for 192.168.32.4:45696, 200 OK in 0.5ms @ web/webfinger.go:37(web.WebfingerQuery)
2023/10/05 00:46:16 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/activitypub/user-id/3 for 192.168.32.4:45710, 200 OK in 243.8ms @ activitypub/person.go:21(activitypub.Person)
2023/10/05 00:46:16 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/activitypub/user-id/3 for 192.168.32.4:45718, 200 OK in 0.7ms @ activitypub/person.go:21(activitypub.Person)

STDERR