mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.62k stars 1.93k forks source link

Boards: focalboard_errors.log: permission denied #4828

Open KakEgorka opened 1 year ago

KakEgorka commented 1 year ago

Hi The boards give an error:

{
  "caller": "io/io.go:428",
  "level": "info",
  "msg": "can't open new logfile: open focalboard_errors.log: permission denied\n",
  "plugin_id": "focalboard",
  "source": "plugin_stderr",
  "timestamp": "2023-06-02 13:20:59.634 +05:00"
}

There is no file focalboard_errors.log in the folder with logs. the Mattermost user has rights to the folder

amyblais commented 1 year ago

Hi @KakEgorka, what Mattermost server version are you on? What Mattermost Boards version are you using? Do you see errors in the server logs?

KakEgorka commented 1 year ago

Sorry! focalboard - 7.9.3 Mattermost: 7.9.2 Do you see errors in the server logs? - Yes

amyblais commented 1 year ago

Thank you, can you help share the server logs here? Are you able to upgrade to v7.10 to see if the issue still exists?

KakEgorka commented 1 year ago

at the moment it is not possible to upgrade the server to v7.10 But there was such a problem with logging in previous versions.

mm (1).log mm.log

amyblais commented 1 year ago

@mgdelacroix Have you seen this Boards error before?

KakEgorka commented 1 year ago

we found what the problem was. The file is written to the main /mattermost/ folder and the mattermost user did not have permission to write there. There are all permissions in the mattermost/logs folder, but it does not write there.

How to make logs focalboard written to mattermost/logs?

jelmd commented 1 year ago

Same error here (MM 8.1.2) - and focal icons are missing :(