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

[Bug] Could not create the data folder. Please check the permission #540

Closed
2 tasks done
b42n1 opened this issue Jan 28, 2024 · 2 comments
Closed
2 tasks done

[Bug] Could not create the data folder. Please check the permission #540

b42n1 opened this issue Jan 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@b42n1
Copy link

b42n1 commented Jan 28, 2024

General

  • I have updated to the latest version of MySpeed.
  • My bug has not been reported yet.

The Bug

When installing via Synology Container Manager, I get the following error:

myspeed-myspeed-1
date	stream	content
2024/01/28 03:07:04	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:06:03	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:05:10	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:42	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:26	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:19	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:14	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:10	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:08	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:06	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:04	stderr	Could not create the data folder. Please check the permission
2024/01/28 03:04:03	stderr	Could not create the data folder. Please check the permission

Tested with this:

name: myspeed
services:
    myspeed:
        ports:
            - 5216:5216
        volumes:
            - /volume1/docker/myspeed/data:/myspeed/data
        restart: unless-stopped
        container_name: myspeed
        image: germannewsmaker/myspeed
volumes:
    myspeed:
        external:
            name: myspeed

and this from mariushosting:

version: "3.9"
services:
  myspeed:
    container_name: MySpeed
    image: germannewsmaker/myspeed:latest
    mem_limit: 4g
    cpu_shares: 1024
    security_opt:
      - no-new-privileges:true
    restart: on-failure:5
    ports:
      - 5216:5216
    volumes:
      - /volume1/docker/myspeed:/myspeed/data:rw
    environment:
      NODE_ENV: production

Couldn't find any env information to set a UID and GID.

What device are you using to access the page?

In the browser

Which operating system is your MySpeed instance running on?

Linux

@b42n1 b42n1 added the bug Something isn't working label Jan 28, 2024
@catanbri
Copy link

I am having the exact same issue. the myspeed folder has read\write for the user everyone. I have even tried giving everyone full control over the folder and still experience the permission issue with the docker container.

@b42n1
Copy link
Author

b42n1 commented Feb 21, 2024

@catanbri your comment got me to read marius tutorial properly. I hadn't sawn that he adjusts the folder permissions. I found his tutorial after I had problems with the install.

Got it working after a few tries.

  1. Remove everything. Also delete the docker folder. Changing the permissions afterwards didn't work for me.
  2. Follow his guide. https://mariushosting.com/how-to-install-myspeed-on-your-synology-nas/

Working and running over 24 h now.
image

@b42n1 b42n1 closed this as completed Feb 21, 2024
@gnmyt gnmyt mentioned this issue May 18, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants