Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not create symlink for 'personal' space #2290

Closed
Tracked by #2288
wkloucek opened this issue Jul 13, 2021 · 3 comments
Closed
Tracked by #2288

could not create symlink for 'personal' space #2290

wkloucek opened this issue Jul 13, 2021 · 3 comments
Labels
OCIS-Fastlane Planned outside of the sprint Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug

Comments

@wkloucek
Copy link
Contributor

wkloucek commented Jul 13, 2021

Describe the bug

While using oCIS 1.9.0-RC1 the log ouptut will be spammed with following message:

could not create symlink for 'personal' space 13a483b9-5b6c-4dec-a6aa-90eda42327e0, symlink ../../nodes/13a483b9-5b6c-4dec-a6aa-90eda42327e0 /var/tmp/ocis/storage/users/spaces/personal/13a483b9-5b6c-4dec-a6aa-90eda42327e0: file exists

Steps to reproduce

Steps to reproduce the behavior:

  1. run oCIS 1.9.0-RC1 and move to all files and watch the server log

Expected behavior

No error logs

Actual behavior

A lot of error logs with the message above.

even when using the logger printing on a file, the terminal will be spammed with the print message

OCIS_LOG_FILE=/Users/test/logs/test.log ocis/bin/ocis server

Clipboard - July 13, 2021 3_34 PM

@refs
Copy link
Member

refs commented Jul 13, 2021

We found the culprit being this commit on Reva. Since that commit is associated with a beefy PR, there are 2 proposed remedies:

  • be more thorough on code reviews
  • enforce a golangci linter such as forbidgo

A rule like:

linters-settings:
  forbidigo:
    # Forbid the following identifiers (identifiers are written using regexp):
    forbid:
      - ^print.*$
      - 'fmt\.Print.*'
    # Exclude godoc examples from forbidigo checks.  Default is true.
    exclude_godoc_examples: false

should prevent such identifiers to make it to CI. It is, however, controversial.

@micbar
Copy link
Contributor

micbar commented Jul 13, 2021

ok decision with @butonic @dragotin

Not a release blocker.

only affects the decomposedfs.

@micbar micbar added Priority:p2-high Escalation, on top of current planning, release blocker OCIS-Fastlane Planned outside of the sprint labels Jul 13, 2021
@wkloucek
Copy link
Contributor Author

wkloucek commented Sep 1, 2021

fixed in cs3org/reva#1992

@wkloucek wkloucek closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCIS-Fastlane Planned outside of the sprint Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants