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

Error creating filer server #68101

Closed
ghost opened this issue Jun 26, 2024 · 4 comments
Closed

Error creating filer server #68101

ghost opened this issue Jun 26, 2024 · 4 comments
Assignees
Labels
seaweedfs solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@ghost
Copy link

ghost commented Jun 26, 2024

Name and Version

bitnami/seaweedfs:latest

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. I created a docker compose with the nodes.
  2. in node filer add this command: filer -master=main-node:9333 -ip=filer-node

What is the expected behavior?

The server filer created

What do you see instead?

I0626 16:13:50.961777 filer_server.go:171 default to create filer store dir in ./filerldb2
I0626 16:13:50.969043 leveldb2_store.go:42 filer store leveldb2 dir: ./filerldb2
F0626 16:13:50.969145 configuration.go:25 failed to initialize store for leveldb2: Check Level Folder ./filerldb2 Writable: stat ./filerldb2: no such file or directory

Additional information

I believe that you missed creating the line RUN mkdir -p /data/filerldb2 which is made by the imagen chrislusf/seaweedfs.

@ghost ghost added the tech-issues The user has a technical issue about an application label Jun 26, 2024
@github-actions github-actions bot added the triage Triage is needed label Jun 26, 2024
@carrodher
Copy link
Member

Could you check the permissions of the local directory being mounted into the container?
Please note that Bitnami containers are designed to operate as non-root by default. Consequently, any files or directories used by the application should be owned by the root group, as the random user (1001 by default) is a member of this root group. To ensure proper permissions, you'll need to adjust the ownership of your local directory accordingly.

For more comprehensive information about non-root containers and their significance for security, you can explore the following resources:

These references provide valuable insights into the best practices and considerations when working with non-root containers in Bitnami applications.

@ghost
Copy link
Author

ghost commented Jul 2, 2024

I must to create my own configuration file to change default folder and add it with a volume. But I expect that this image can create all cluster to easy PoC without adding additional configuration.

Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Jul 18, 2024
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
seaweedfs solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants