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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悑 Im Having An Issue Running ARM In Portainer #1122

Closed
4 tasks done
silvvertnt opened this issue May 5, 2024 · 9 comments
Closed
4 tasks done

馃悑 Im Having An Issue Running ARM In Portainer #1122

silvvertnt opened this issue May 5, 2024 · 9 comments
Labels
bug Contains a bug or code error

Comments

@silvvertnt
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

Whenever i try to start ARM in portainer i get an error called "failed with status 1" i am using ubuntu 20.04.6 on an I5 3470 8GB ram and a GT 710 as a Gpu

To Reproduce

everytime i restart the image in portainer after i give permissions to the file it is stating but i get same result

Built from source files ?

  • I Built the image from source

What architecture are you seeing the problem on?

amd64

Expected behavior?

i was expecting it to work accordingly and i just wanted further clarification if i am doing anything wrong

Relevant log output

Updating arm group id from 1000 to 1003...
Adding arm user to 'render' group
Checking ownership of /home/arm
[OK]: ARM UID and GID set correctly, ARM has access to '/home/arm' using 1001:1003
Removing any link between music and Music
stat: cannot stat '/etc/arm/config': No such file or directory
stat: cannot stat '/etc/arm/config': No such file or directory
Checking ownership of /etc/arm/config
---------------------------------------------
[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1003
Check your user permissions and restart ARM. Folder permissions--> :
---------------------------------------------
*** /etc/my_init.d/arm_user_files_setup.sh failed with status 1
*** Killing all processes...
May  5 18:20:43 38d68c10808b syslog-ng[12]: syslog-ng shutting down; version='3.25.1'
*** Running /etc/my_init.d/10_syslog-ng.init...
May  5 18:20:50 38d68c10808b syslog-ng[12]: syslog-ng starting up; version='3.25.1'
*** Running /etc/my_init.d/arm_user_files_setup.sh...
Updating arm user id from 1000 to 1001...
usermod: no changes
Updating arm group id from 1000 to 1003...
Adding arm user to 'render' group
Checking ownership of /home/arm
[OK]: ARM UID and GID set correctly, ARM has access to '/home/arm' using 1001:1003
Removing any link between music and Music
stat: cannot stat '/etc/arm/config': No such file or directory
stat: cannot stat '/etc/arm/config': No such file or directory
Checking ownership of /etc/arm/config
---------------------------------------------
[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1003
Check your user permissions and restart ARM. Folder permissions--> :
---------------------------------------------
*** /etc/my_init.d/arm_user_files_setup.sh failed with status 1
*** Killing all processes...
May  5 18:20:51 38d68c10808b syslog-ng[12]: syslog-ng shutting down; version='3.25.1'
*** Running /etc/my_init.d/10_syslog-ng.init...
May  5 18:21:05 38d68c10808b syslog-ng[12]: syslog-ng starting up; version='3.25.1'
*** Running /etc/my_init.d/arm_user_files_setup.sh...
Updating arm user id from 1000 to 1001...
usermod: no changes
Updating arm group id from 1000 to 1003...
Adding arm user to 'render' group
Checking ownership of /home/arm
[OK]: ARM UID and GID set correctly, ARM has access to '/home/arm' using 1001:1003
Removing any link between music and Music
stat: cannot stat '/etc/arm/config': No such file or directory
stat: cannot stat '/etc/arm/config': No such file or directory
Checking ownership of /etc/arm/config
---------------------------------------------
[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1003
Check your user permissions and restart ARM. Folder permissions--> :
---------------------------------------------
*** /etc/my_init.d/arm_user_files_setup.sh failed with status 1
*** Killing all processes...
May  5 18:21:06 38d68c10808b syslog-ng[12]: syslog-ng shutting down; version='3.25.1'
*** Running /etc/my_init.d/10_syslog-ng.init...
May  5 18:21:32 38d68c10808b syslog-ng[12]: syslog-ng starting up; version='3.25.1'
*** Running /etc/my_init.d/arm_user_files_setup.sh...
Updating arm user id from 1000 to 1001...
usermod: no changes
Updating arm group id from 1000 to 1003...
Adding arm user to 'render' group
Checking ownership of /home/arm
[OK]: ARM UID and GID set correctly, ARM has access to '/home/arm' using 1001:1003
Removing any link between music and Music
stat: cannot stat '/etc/arm/config': No such file or directory
stat: cannot stat '/etc/arm/config': No such file or directory
Checking ownership of /etc/arm/config
---------------------------------------------
[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1003
Check your user permissions and restart ARM. Folder permissions--> :
---------------------------------------------
*** /etc/my_init.d/arm_user_files_setup.sh failed with status 1
*** Killing all processes...
May  5 18:21:34 38d68c10808b syslog-ng[12]: syslog-ng shutting down; version='3.25.1'
*** Running /etc/my_init.d/10_syslog-ng.init...
May  5 18:22:26 38d68c10808b syslog-ng[12]: syslog-ng starting up; version='3.25.1'
*** Running /etc/my_init.d/arm_user_files_setup.sh...
Updating arm user id from 1000 to 1001...
usermod: no changes
Updating arm group id from 1000 to 1003...
Adding arm user to 'render' group
Checking ownership of /home/arm
[OK]: ARM UID and GID set correctly, ARM has access to '/home/arm' using 1001:1003
Removing any link between music and Music
stat: cannot stat '/etc/arm/config': No such file or directory
stat: cannot stat '/etc/arm/config': No such file or directory
Checking ownership of /etc/arm/config
---------------------------------------------
[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1003
Check your user permissions and restart ARM. Folder permissions--> :
---------------------------------------------
*** /etc/my_init.d/arm_user_files_setup.sh failed with status 1
*** Killing all processes...
May  5 18:22:27 38d68c10808b syslog-ng[12]: syslog-ng shutting down; version='3.25.1'

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@silvvertnt silvvertnt added the bug Contains a bug or code error label May 5, 2024
Copy link
Contributor

github-actions bot commented May 5, 2024

If youre having issues, please remember to read the wiki and follow the instructions carefully

@silvvertnt
Copy link
Author

This is how i have it set up in portainer

image
Screenshot 2024-05-05 122943
Screenshot 2024-05-05 125656
Screenshot 2024-05-05 125724
Screenshot 2024-05-05 125738
Screenshot 2024-05-05 125750

@microtechno9000
Copy link
Collaborator

The permissions are wrong for the volumes

the error you are getting states the mounted volumes are not able to be accessed by the ARM user

you need to change the ownership or set the UID and GID to align with the host permissions

@silvvertnt
Copy link
Author

sorry im still a bit new to linux how would i change the ownership if you dont mind me asking?

@silvvertnt
Copy link
Author

and if your talking about this command "sudo chown 1001:1002 -R /home/arm/config" i did do that but its still saying the same thing in logs "[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1002
Check your user permissions and restart ARM. Folder permissions--> :"

@microtechno9000
Copy link
Collaborator

No worries, to change the ownership in linux of the "/home/arm" directory use the below

sudo chown 1001:1003 -R /home/arm

@silvvertnt
Copy link
Author

i have done this and it is now saying "[ERROR]: ARM does not have permissions to /etc/arm/config using 1001:1002
Check your user permissions and restart ARM. Folder permissions-->" but this isnt in the volumes section nor is it a folder that i have on my server

@microtechno9000
Copy link
Collaborator

The last volume you have mounted points to the wrong path

It should be

/home/arm/config:/etc/arm/config

where left side is your host and the right is the docker image. This was your last volume entry

@silvvertnt
Copy link
Author

ah thanks for clarifying musta missed that works great now thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Contains a bug or code error
Projects
None yet
Development

No branches or pull requests

2 participants