Comment
The wiki at https://codeberg.org/pEp/pEpEngine/wiki is no longer usable. After I committed a change to the wiki via git the system could no longer display any page, showing an Internal server error message instead.
The wiki at https://codeberg.org/pEp/pEpEngine/wiki is no longer usable. After I committed a change to the wiki via git the system could no longer display any page, showing an Internal server error message instead.
Regarding a change, since when did this start happening exactly?
62c55adc97e2f02b0c345e3cee048bb5967d2c68 (HEAD -> master, origin/master, origin/HEAD) some changes by positron without a comment
66ad8e80c81d0a8bf87faf9477e41ff8e819fb1d some changes by positron without a comment
193ebff651d723174ccf3db0b470adea6757dd06 some changes by positron without a comment
dc6940c54fc0ee689b4bef4bf8e7100c99b8bd71 some changes by positron without a comment
9b6604f453c5bb2ac4f2d2a5b803287f9204be8d some changes by positron without a comment
2179243ec2df0b6fc92f36cd0ed6cdb65f740465 some changes by positron without a comment
c0170146c1536024d75e9f04d9487f87a1591278 some changes by positron without a comment
6f7a51bef8f4b454461ff5a88061970123845a60 some changes by positron without a comment
b60bf0b5ffd7af1f7a14e9ec0a2820291549b3c5 some changes by positron without a comment
de8def9df4e8f7531e70851ac3e0f9830397b8b4 some changes by positron without a comment
27485b0f7c4cc947b4644eb3b6df187a2ee77708 some changes by positron without a comment
95335c3c0c0592c642fdc52d5d17e07727180ddc typo fixed
4ed894b9aac8e1f5158ddddd52d9d391e1cfeded Update mixnet
5287fb1f055ec5828e6b71675a23a515eb2c8985 Update mixnet
8ae5b55980688f3149122d5d2271c451d38e2692 Update mixnet
a61f0466f212cd0569588a27c0cf4bea0eb2715e Update mixnet
b876ddb14c64405556048f0e5e4f2a8108c8f8fc Update mixnet
ce1242c313a64eb10bcafb97dda94d2c2577bc9f link to Sequoia PGP
7ff234f95c4569f821684cf3ab2f42106ec0503a Update mixnet
5cbebd6f432e1deeca2cea6b49c987fe57d5895a add intro
c654ac4563ef2354abbba85dd2cd4ae27d64369b Update mixnet
commit 62c55adc97e2f02b0c345e3cee048bb5967d2c68 (HEAD -> master, origin/master, origin/HEAD)
Author: [redacted]
Date: Tue May 14 18:21:18 2024 +0200
some changes by positron without a comment
diff --git a/foo b/foo
deleted file mode 100644
index e69de29..0000000
commit 66ad8e80c81d0a8bf87faf9477e41ff8e819fb1d
Author: [redacted]
Date: Tue May 14 18:21:03 2024 +0200
some changes by positron without a comment
diff --git a/foo b/foo
new file mode 100644
index 0000000..e69de29
Before I added (and then removed) foo, which was a test to see if by making any change I could work around the issue. So I think that the commit that broke the system was 193ebff651d723174ccf3db0b470adea6757dd06
By the way, I am noticing now some file renames that happened by mistake. I will undo those:
It turns out that undoing those renaming did solve the issue.
I believe that there is a bug, but it is not what I initially though: it has to do with files containing % characters (or escapes) in their names.
You may close the issue if you want: the problem is not urgent for me; however you may want to look into it for the future.
Thanks a lot for your work.
@lucasaiu Sorry for the late reply, but I find this information immensely helpful and this should definitely be looked at.
This was pretty easy to reproduce. If Forgejo can't decode the filename, it will 500 out. Not sure what the best way to handle the situation would be, but 500ing out is most definitely not the best way.
Hello, I'm having a similar 500 Internal Server Error problem with my wiki at https://codeberg.org/flytek/flytek-bot.wiki
Every time I try to add a page from the web UI, it faults with a code 500 error. I tried to clone the wiki repo (flytek-bot.wiki.git), but every time I push some changes, the wiki breaks. The only way to make it "work" (that is, load the page without erroring) is to delete all files and commit the deletion. No matter how I call my files or what I write into them, every time I push a change, it breaks the wiki.
I think the problem is that I have two remote branches, main and master, and I cannot figure out how to get rid of one of them (preferably master). Every time I issue a git command that is supposed to delete the branch, git answers me:
remote: error: By default, deleting the current branch is denied, because the next
remote: 'git clone' won't result in any file checked out, causing confusion.
remote:
remote: You can set 'receive.denyDeleteCurrent' configuration variable to
remote: 'warn' or 'ignore' in the remote repository to allow deleting the
remote: current branch, with or without a warning message.
remote:
remote: To squelch this message, you can set it to 'refuse'.
remote: error: refusing to delete the current branch: refs/heads/master
To https://codeberg.org/flytek/flytek-bot.wiki.git
! [remote rejected] master (deletion of the current branch prohibited)
error: failed to push some refs to 'https://codeberg.org/flytek/flytek-bot.wiki.git'
I tried to google the error, but it looks like everyone is suggesting to use the remote's web interface (which for this repo doesn't exist (right?)) to change the main/protected branch so I can freely delete one of them
Edit: apparently I can edit the home file Home.md and the wiki homepage will display just fine, but if I create a new page (eg. custom commands.md), it faults with an error 500. Maybe it is not related to the branches, but to something else. Either way, I can't figure out how to use the wiki without breaking it :p
I also experience this problem. Any page I created hits an error 500. There was an issue with a file that had a ':' in it's name. However, even with it removed or renamed, I can't add new pages (via web interface or via git).
Edit: I also have an issue with having a 'main' and 'master' branch.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?