You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
our computer club has been running an instance of mycorrhiza (happily!) that details some of our projects and services, including mycorrhiza itself. the hypha for this was at the root of our instance and called wiki.myco
recently a member attempted to rename this hypha services/wiki (making it a subhypha of the existing services hypha)
the bug
this rename failed and put our mycorrhiza in a "read-only" state. we could still open hyphae, but any attempt to rename or edit any hypha resulted in a server timeout
inspecting the logs yielded
gitsh: exit status 128
out: fatal: '/srv/mycorrhiza/services/wiki.git/services/wiki.myco' is outside repository at '/srv/mycorrhiza/wiki.git'
USER tries to rename 'wiki': exit status 128
within the mycorrhiza directory a new directory tree was created services/wiki.git/services
note wiki.myco was not created in this new directory outside of the git repo
steps to reproduce
from the client:
create a hypha named wiki.
rename that hypha SUPERHYPHA/wiki
note (i have tested this with multiple super-hyphae and the issue occurred every time)
steps to resolve
i manually moved wiki.myco to mycorrhiza/wiki.git/services/wiki.myco and manually changed all references to this hypha in a text editor before commiting changes (electing not to worry about redirects)
i then restarted the mycorrhiza service and confirmed that edits and renames were then working
i did not attempt to rename wiki again, and will advise others to avoid making this change in the client specifically for this hypha
Thanks for the report. Looking at your club, it looks very cool, I wish the best luck with it!
As for the bug, yeah. It's a very old and a very known bug. Renaming will also probably fail if you name the hypha git, i.git, or any other substring of the wiki.git filepath. I had problems with home too, because I store my wikis in a home directory.
background
our computer club has been running an instance of mycorrhiza (happily!) that details some of our projects and services, including mycorrhiza itself. the hypha for this was at the root of our instance and called
wiki.myco
recently a member attempted to rename this hypha
services/wiki
(making it a subhypha of the existingservices
hypha)the bug
this rename failed and put our mycorrhiza in a "read-only" state. we could still open hyphae, but any attempt to rename or edit any hypha resulted in a server timeout
inspecting the logs yielded
within the mycorrhiza directory a new directory tree was created
services/wiki.git/services
note wiki.myco was not created in this new directory outside of the git repo
steps to reproduce
from the client:
wiki
.SUPERHYPHA/wiki
note (i have tested this with multiple super-hyphae and the issue occurred every time)
steps to resolve
i manually moved
wiki.myco
tomycorrhiza/wiki.git/services/wiki.myco
and manually changed all references to this hypha in a text editor before commiting changes (electing not to worry about redirects)i then restarted the mycorrhiza service and confirmed that edits and renames were then working
i did not attempt to rename
wiki
again, and will advise others to avoid making this change in the client specifically for this hyphathe offending hypha
https://wiki.bunk.computer/hypha/services/wiki
The text was updated successfully, but these errors were encountered: