blog: Gitea 1.15 and up: path not found or permission denied #32

Merged
realaravinth merged 1 commits from dachary/website:wip-blog-05-28 into master 2022-05-28 08:23:58 +00:00
- [x] link from https://forum.hostea.org/t/howto-gitea-upgrades-a-guide-for-admins/39 - [x] link from https://github.com/go-gitea/gitea/issues/19367
dachary added 1 commit 2022-05-28 04:16:00 +00:00
dachary requested review from realaravinth 2022-05-28 04:19:48 +00:00
dachary added the
Blog
label 2022-05-28 04:20:47 +00:00
realaravinth requested changes 2022-05-28 08:06:44 +00:00
@ -0,0 +11,4 @@
In Gitea 1.15 the [app.example.ini](https://github.com/go-gitea/gitea/blob/cfb4c23a5009b9c236d48ac0bc156577c7d70741/custom/conf/app.example.ini) file was changed to [comment out most of the values](https://github.com/go-gitea/gitea/commit/4a84022d2559ccfc99960c7c654ee8b9b38664f7). The assumption was that all values exactly matched the defaults [in the source code](https://github.com/go-gitea/gitea/blob/main/modules/setting/setting.go). However, there are differences, for instance for [APP_DATA_PATH](https://github.com/go-gitea/gitea/blob/cfb4c23a5009b9c236d48ac0bc156577c7d70741/modules/setting/setting.go#L771). Before Gitea 1.15, `app.example.ini` contained:
```

I am nitpicking here: if possible, can you add syntax highlighting to all configuration snippets?

```
APP_DATA_PATH = data
```

would become

```ini
APP_DATA_PATH = data
```
I am nitpicking here: if possible, can you add syntax highlighting to all configuration snippets? ```` ``` APP_DATA_PATH = data ``` ```` would become ```` ```ini APP_DATA_PATH = data ``` ````
Poster
Owner
See https://gitea.hostea.org/Hostea/website/pulls/32#issuecomment-569
realaravinth marked this conversation as resolved
Poster
Owner

It's not possible to copy / paste images in replies to reviews so... here it is.

With the suggested change it looks like this:

image

which is less readable (gray on black background) than without it:

image

It's not possible to copy / paste images in replies to reviews so... here it is. With the suggested change it looks like this: ![image](/attachments/be8e0f7f-5eee-4971-9418-292802e1c2bf) which is less readable (gray on black background) than without it: ![image](/attachments/69d25d4b-78c8-429d-8f79-fb8de0bcaeb6)

I was under the impression that the comment will render as commented out and so readability will improve but

which is less readable (gray on black background) than without it:

fair point.

LGTM.

I was under the impression that the comment will render as commented out and so readability will improve but > which is less readable (gray on black background) than without it: fair point. LGTM.
realaravinth merged commit 3373ddedb2 into master 2022-05-28 08:23:58 +00:00
dachary deleted branch wip-blog-05-28 2022-05-28 21:04:35 +00:00
Poster
Owner

For the record the same blog post was proposed to the Gitea blog so it can be viewed by a larger audience. There is no link to hostea.org in the proposed blog post to avoid the pushback that the previous proposal for a blog post suffered from.

https://gitea.com/gitea/blog/pulls/196

For the record the same blog post was proposed to the Gitea blog so it can be viewed by a larger audience. There is no link to hostea.org in the proposed blog post to avoid the [pushback that the previous proposal for a blog post suffered from](https://gitea.com/gitea/blog/pulls/194). https://gitea.com/gitea/blog/pulls/196
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hostea/website#32
There is no content yet.