thewhiterabbit / Deploy_Saleor

37 stars 22 forks source link

Error while deploy saleor #3

Closed l3op closed 2 years ago

l3op commented 3 years ago

Hello there, i have tried to deploy saleor on my server but i have faced an issue

i'm using ubuntu server Ubuntu 20.04.2.0 LTS

Here's the deploy process:

lucas@ubuntu:~/Desktop$ git clone https://github.com/thewhiterabbit/Deploy_Saleor.git
Cloning into 'Deploy_Saleor'...
remote: Enumerating objects: 445, done.
remote: Counting objects: 100% (118/118), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 445 (delta 74), reused 72 (delta 34), pack-reused 327
Receiving objects: 100% (445/445), 205.44 KiB | 943.00 KiB/s, done.
Resolving deltas: 100% (243/243), done.
lucas@ubuntu:~/Desktop$ sudo bash Deploy_Saleor/deploy.sh

Ubuntu detected

Installing core dependencies...
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Fetched 328 kB in 1s (228 kB/s)   
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version (4:9.3.0-1ubuntu2).
python3-cffi is already the newest version (1.14.0-1build1).
python3-dev is already the newest version (3.8.2-0ubuntu2).
python3-venv is already the newest version (3.8.2-0ubuntu2).
build-essential is already the newest version (12.8ubuntu1.1).
python3-pip is already the newest version (20.0.2-5ubuntu1.5).
0 upgraded, 0 newly installed, 0 to remove and 232 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcairo2 is already the newest version (1.16.0-4ubuntu1).
libffi-dev is already the newest version (3.3-4).
libpango-1.0-0 is already the newest version (1.44.7-2ubuntu4).
libpangocairo-1.0-0 is already the newest version (1.44.7-2ubuntu4).
shared-mime-info is already the newest version (1.15-1).
libgdk-pixbuf2.0-0 is already the newest version (2.40.0+dfsg-3ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 232 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nodejs is already the newest version (10.19.0~dfsg-3ubuntu1).
npm is already the newest version (6.14.4+ds-1ubuntu2).
postgresql is already the newest version (12+214ubuntu0.1).
postgresql-contrib is already the newest version (12+214ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 232 not upgraded.

Finished installing core dependencies

Setting up security feature details...

Finished setting up security feature details

Creating database...

CREATE ROLE
CREATE DATABASE
Finished creating database

Please provide details for your Saleor API instillation...

Enter the API host domain:localhost
Enter a custom Static Files URI (optional):
Enter a custom Media Files URI (optional):

Enter the Dashboard admin's email:c**i@hotmail.com

Enter the Dashboard admin's desired password:Skipping adding existing rule
Skipping adding existing rule (v6)
Skipping adding existing rule
Skipping adding existing rule (v6)
sudo: unknown user: mkdir
sudo: unable to initialize policy plugin
thewhiterabbit commented 2 years ago

Sorry for the very late response. I think there were updates on the Saleor side that I haven't solved yet. I'm not currently maintaining this repo because I'm working on another project that takes up all my time.

One of the forks may have repaired this issue. Please try the forks. I am willing to update this repo if I get pull requests as well. I just don't have debug time myself on this project.