deploy_saleor's People
Forkers
huuquynh ashishkpaul hamma2 ubuntuevangelist essencesentry dhanendras harshp96 nyimbi eubest sih2020-krishifreak thinkallofyours wsawf teirtk mohit1050 jojjetuff djkato wei-ancoris d3prog liwenz geeknux alta-atcdeploy_saleor's Issues
Do not work Ubuntu 22.04
root@xenay:/opt# sudo bash Deploy_Saleor/deploy.sh
detected
Installing core dependencies...
Unsupported Linix distribution detected.
Exiting
root@xenay:/opt# uname -a
Linux xenay 5.15.60-2-pve #1 SMP PVE 5.15.60-2 (Tue, 04 Oct 2022 16:52:28 +0200) x86_64 x86_64 x86_64 GNU/Linux
root@xenay:/opt# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
may i install on localhost
before I really deploy, I hope to test on localhost,but I failed. What should I do it?
My message is follow: (Ubuntu20)
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:[email protected]
Enter the Dashboard admin's desired password:Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
sudo: unknown user: mkdir
sudo: unable to initialize policy plugin
liwen@liwen-OEM:~$
Install aborts with error: pathspec '2.11.1' did not match any file(s) known to git
Script install aborts with error: pathspec '2.11.1' did not match any file(s) known to git
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
`Cloning Saleor from github...
Cloning into 'saleor'...
remote: Enumerating objects: 207807, done.
remote: Total 207807 (delta 0), reused 0 (delta 0), pack-reused 207807
Receiving objects: 100% (207807/207807), 167.58 MiB | 24.11 MiB/s, done.
Resolving deltas: 100% (152377/152377), done.
error: pathspec '2.11.1' did not match any file(s) known to git
saleor@c1:~$ `
npm ERR! notarget No matching version found for npm@next.
Hello fresh install on Ubuntu 20.04 (LTS) x64 any idea Thanks
Creating production deployment packages for Saleor API & GraphQL...
npm ERR! code ETARGET
npm ERR! notarget No matching version found for npm@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-16T04_19_33_410Z-debug.log
root@ubuntu-s-2vcpu-4gb-amd-lon1-01:~# cat /root/.npm/_logs/2022-12-16T04_19_33_410Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'npm@next' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session e95e883838cea95f
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/npm 130ms
8 silly fetchPackageMetaData error for npm@next No matching version found for npm@next.
9 timing stage:rollbackFailedOptional Completed in 2ms
10 timing stage:runTopLevelLifecycles Completed in 220ms
11 verbose type tag
12 verbose stack npm: No matching version found for npm@next.
12 verbose stack at pickManifest (/usr/share/npm/node_modules/npm-pick-manifest/index.js:122:13)
12 verbose stack at fetchPackument.then.packument (/usr/share/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:24:14)
12 verbose stack at tryCatcher (/usr/lib/nodejs/bluebird/js/release/util.js:16:23)
12 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/nodejs/bluebird/js/release/promise.js:512:31)
12 verbose stack at Promise._settlePromise (/usr/lib/nodejs/bluebird/js/release/promise.js:569:18)
12 verbose stack at Promise._settlePromise0 (/usr/lib/nodejs/bluebird/js/release/promise.js:614:10)
12 verbose stack at Promise._settlePromises (/usr/lib/nodejs/bluebird/js/release/promise.js:693:18)
12 verbose stack at Async._drainQueue (/usr/lib/nodejs/bluebird/js/release/async.js:133:16)
12 verbose stack at Async._drainQueues (/usr/lib/nodejs/bluebird/js/release/async.js:143:10)
12 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (/usr/lib/nodejs/bluebird/js/release/async.js:17:14)
12 verbose stack at runCallback (timers.js:705:18)
12 verbose stack at tryOnImmediate (timers.js:676:5)
12 verbose stack at processImmediate (timers.js:658:5)
13 verbose cwd /root/saleor
14 verbose Linux 5.4.0-122-generic
15 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "npm@next"
16 verbose node v10.19.0
17 verbose npm v6.14.4
18 error code ETARGET
19 error notarget No matching version found for npm@next.
20 error notarget In most cases you or one of your dependencies are requesting
20 error notarget a package version that doesn't exist.
21 verbose exit [ 1, true ]
root@ubuntu-s-2vcpu-4gb-amd-lon1-01:~# npm -v
6.14.4
root@ubuntu-s-2vcpu-4gb-amd-lon1-01:~# npm install -g npm@next
npm ERR! code ETARGET
npm ERR! notarget No matching version found for npm@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Error while deploy saleor
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**[email protected]
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
Script will fail if certain directories do not exist
If these directories do not already exist, the script will fail.
/var/www/
/etc/nginx/sites-available/
Error message:
mkdir: cannot create directory ‘/var/www/saleor-api.user.domain’: No such file or directory
Magento 2 Sucks
I'm really excited about your post at the Magento GitHub. You write all the truth about the platform from the software developer's point of view. Not from the certified Magento monkey developer's point. Please send me an email at: [email protected]
404 error for GraphQL request
getting a 404 error when accessing the https://domainmname/graphql
tried multiple times...
I'm new to python...
Could you please guide to resolve this
import pillow_avif # noqa: F401 # imported for side effects ModuleNotFoundError: No module named 'pillow_avif'
Prerequirements (nginx, libxml2 libxslt)
I need to install the following packages before running the scripts
sudo apt install nginx
sudo apt-get install libxml2-dev libxslt-dev
uvloop cannot be installed (Ubuntu 22.10)
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> uvloop
===========================
creating build/temp.linux-x86_64-3.10/uvloop
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/owner/env/saleor/include -I/usr/include/python3.10 -I/tmp/pip-install-o60xuorf/uvloop_0bf72e74c0674a05b94e12d415b26b1b/vendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-3.10/uvloop/loop.o -O2
uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVHandle’:
uvloop/loop.c:144572:5: error: lvalue required as increment operand
144572 | ++Py_REFCNT(o);
| ^~
uvloop/loop.c:144574:5: error: lvalue required as decrement operand
144574 | --Py_REFCNT(o);
error running deploy.sh
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
sudo: unknown user: mkdir
sudo: unable to initialize policy plugin
any idea???
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.