cinnyapp/cinny

Can no longer access /home after upgrading to v4

Closed this issue · 11 comments

Describe the bug

After updating my Cinny instance self-hosted on GitHub Pages and logging in, I am met with this error page. My homeserver works on app.cinny.in and in the desktop version of v4.0.3.

image

Reproduction

No response

Expected behavior

No response

Platform and versions

openSUSE Tumbleweed GNU+Linux
Mozilla Firefox 128.0
Cinny Web v4.0.3

Additional context

No response

Hi, You need to setup redirects as explained in release notes.

Hi, You need to setup redirects as explained in release notes.

How would I do that with GitHub Pages? Also, that should be added to the README, as currently it just says to extract the dist directory from the release to the webserver root.

Can help you with netlify as that's our deployment type but https://blog.logrocket.com/deploying-react-apps-github-pages/ might help you with GitHub pages. Will update the readme with mentioning redirect setup requirement.

Please provide a working example for Caddy and other servers, just pointing to netlify.toml isn't the quality of docs that we expect on a breaking change. Reverted to the previous release

You might want to check out https://caddyserver.com/docs/caddyfile/directives/redir

Do not expect a small team of two people to test redirect on every server out there and provide support for that.

Pointing to netlify meant, you know what redirect to set, but how to set is upto you because you deal with that server not us.

I don't, I do however expect up to date documentation on breaking changes. That should be part of writing the release notes. The documentation is behind reality now.

As already mentioned above, will update readme on the requirement of setting redirect. On the doc issue, there is enough info because netlify.toml consit of exactly what need to set and release exactly mention that.

Can help you with netlify as that's our deployment type but https://docs.github.com/en/contributing/writing-for-github-docs/configuring-redirects might help you with GitHub pages. Will update the readme with mentioning redirect setup requirement.

The link you sent is not for GitHub Pages, but instructions for contributors to GitHub's Docs.

For anyone using Caddy, this seems to work for me:

        @index {
          not path /index.html
          not path /public/*
          not path /assets/*

          not path /config.json

          not path /manifest.json

          not path /pdf.worker.min.js
          not path /olm.wasm

          path /*
        }

        rewrite /*/olm.wasm /olm.wasm
        rewrite @index /index.html

Got to know that you can also set https://github.com/cinnyapp/cinny/blob/dev/config.json#L35 this to true and you do not need to set redirects.

Closing as nothing more to be done from cinny side.

Got to know that you can also set https://github.com/cinnyapp/cinny/blob/dev/config.json#L35 this to true and you do not need to set redirects.

Too late, you've already lost a user.