Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] For clarity, what commands are you running? What is the host OS?

[DiscordArchive] For clarity, what commands are you running? What is the host OS?

[DiscordArchive] For clarity, what commands are you running? What is the host OS?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
10-23-2023, 04:38 PM
#1
Archived author: mynameismeat • Posted: 2023-10-23T16:38:23.938000+00:00
Original source

For clarity, what commands are you running? What is the host OS?
rektbyfaith
10-23-2023, 04:38 PM #1

Archived author: mynameismeat • Posted: 2023-10-23T16:38:23.938000+00:00
Original source

For clarity, what commands are you running? What is the host OS?

rektbyfaith
Administrator
0
10-23-2023, 04:42 PM
#2
Archived author: mynameismeat • Posted: 2023-10-23T16:42:11.535000+00:00
Original source

permission error? Can you share the exact error
rektbyfaith
10-23-2023, 04:42 PM #2

Archived author: mynameismeat • Posted: 2023-10-23T16:42:11.535000+00:00
Original source

permission error? Can you share the exact error

rektbyfaith
Administrator
0
10-23-2023, 04:43 PM
#3
Archived author: mynameismeat • Posted: 2023-10-23T16:43:06.687000+00:00
Original source

you may need to run `sudo chown -R $(id -u):$(id -g) env/dist` to ensure that the configs are not owned to root
rektbyfaith
10-23-2023, 04:43 PM #3

Archived author: mynameismeat • Posted: 2023-10-23T16:43:06.687000+00:00
Original source

you may need to run `sudo chown -R $(id -u):$(id -g) env/dist` to ensure that the configs are not owned to root

rektbyfaith
Administrator
0
10-23-2023, 04:47 PM
#4
Archived author: mynameismeat • Posted: 2023-10-23T16:47:07.870000+00:00
Original source

hmm. I have no idea how to change linux permissions for a folder on windows

try this:

`docker run -it --rm -v /path/to/azerothcore-wotlk/env:/opt/acore-env ubuntu chown -R 1000:1000 /opt/acore-env`
rektbyfaith
10-23-2023, 04:47 PM #4

Archived author: mynameismeat • Posted: 2023-10-23T16:47:07.870000+00:00
Original source

hmm. I have no idea how to change linux permissions for a folder on windows

try this:

`docker run -it --rm -v /path/to/azerothcore-wotlk/env:/opt/acore-env ubuntu chown -R 1000:1000 /opt/acore-env`

rektbyfaith
Administrator
0
10-23-2023, 04:49 PM
#5
Archived author: mynameismeat • Posted: 2023-10-23T16:49:00.767000+00:00
Original source

it's running a `cp -n`. the `-n` is "noclobber". The files are moved to that spot during the build. since the build and run are separate in docker, the container ensures the files exist when the container starts up. with "noclobber", it won't overwrite anything you've put there.
rektbyfaith
10-23-2023, 04:49 PM #5

Archived author: mynameismeat • Posted: 2023-10-23T16:49:00.767000+00:00
Original source

it's running a `cp -n`. the `-n` is "noclobber". The files are moved to that spot during the build. since the build and run are separate in docker, the container ensures the files exist when the container starts up. with "noclobber", it won't overwrite anything you've put there.

rektbyfaith
Administrator
0
10-23-2023, 04:49 PM
#6
Archived author: mynameismeat • Posted: 2023-10-23T16:49:30.658000+00:00
Original source

its safe to run, "chown" means "CHange OWNership". to be safe though, you can totally copy the `env/dist` folder to `env/dist.bak` or something
rektbyfaith
10-23-2023, 04:49 PM #6

Archived author: mynameismeat • Posted: 2023-10-23T16:49:30.658000+00:00
Original source

its safe to run, "chown" means "CHange OWNership". to be safe though, you can totally copy the `env/dist` folder to `env/dist.bak` or something

rektbyfaith
Administrator
0
10-23-2023, 04:50 PM
#7
Archived author: mynameismeat • Posted: 2023-10-23T16:50:10.243000+00:00
Original source

yeah, you will need to set it to the path of whereever the azerothcore folder is on the computer, and it needs to be the absolute path
rektbyfaith
10-23-2023, 04:50 PM #7

Archived author: mynameismeat • Posted: 2023-10-23T16:50:10.243000+00:00
Original source

yeah, you will need to set it to the path of whereever the azerothcore folder is on the computer, and it needs to be the absolute path

rektbyfaith
Administrator
0
10-23-2023, 04:52 PM
#8
Archived author: mynameismeat • Posted: 2023-10-23T16:52:18.924000+00:00
Original source

so like `-v 'C:\Games\azerothcore-wotlk:/opts/acore-env'`, but I don't exactly know how it works with docker on windows. If you have git bash available, that might be something you can do without running the `chown` through docker
rektbyfaith
10-23-2023, 04:52 PM #8

Archived author: mynameismeat • Posted: 2023-10-23T16:52:18.924000+00:00
Original source

so like `-v 'C:\Games\azerothcore-wotlk:/opts/acore-env'`, but I don't exactly know how it works with docker on windows. If you have git bash available, that might be something you can do without running the `chown` through docker

rektbyfaith
Administrator
0
10-23-2023, 04:52 PM
#9
Archived author: mynameismeat • Posted: 2023-10-23T16:52:22.495000+00:00
Original source

that's fine
rektbyfaith
10-23-2023, 04:52 PM #9

Archived author: mynameismeat • Posted: 2023-10-23T16:52:22.495000+00:00
Original source

that's fine

rektbyfaith
Administrator
0
10-23-2023, 05:04 PM
#10
Archived author: mynameismeat • Posted: 2023-10-23T17:04:28.740000+00:00
Original source

Which edits are those? this didn't mess with the DB
rektbyfaith
10-23-2023, 05:04 PM #10

Archived author: mynameismeat • Posted: 2023-10-23T17:04:28.740000+00:00
Original source

Which edits are those? this didn't mess with the DB

Pages (4): 1 2 3 4 Next
Recently Browsing
 
Recently Browsing