GithubHelp home page GithubHelp logo

Comments (8)

zihniartar avatar zihniartar commented on June 9, 2024 2

this is how I do it under NGINX:
chown -R www-data /var/www/smartstore/ && chgrp -R www-data /var/www/smartstore/ && chmod -R 750 /var/www/smartstore/ && chmod g+s /var/www/smartstore/ && chmod -R g+w /var/www/smartstore/App_Data && chmod -R g+w /var/www/smartstore/Modules && chmod +x /var/www/smartstore/Smartstore.Web

** I've tested it. It didn't work. There should be a problem with the permissions.**

I assume that you have adjusted the paths

var/www/smartstore/

and if you absolutely want to use the root user, you must also adjust this in the command

www-data

from smartstore.

zihniartar avatar zihniartar commented on June 9, 2024 1

this is how I do it under NGINX:

chown -R www-data /var/www/smartstore/ &&
chgrp -R www-data /var/www/smartstore/ &&
chmod -R 750 /var/www/smartstore/ &&
chmod g+s /var/www/smartstore/ &&
chmod -R g+w /var/www/smartstore/App_Data &&
chmod -R g+w /var/www/smartstore/Modules &&
chmod +x /var/www/smartstore/Smartstore.Web

from smartstore.

stefanmuellerdo avatar stefanmuellerdo commented on June 9, 2024 1
  • please post a ls -l from your installation directory
  • post your NGINX Configuration
  • post also the interesting part from your NGINX error log
  • is SELinux enabled? --> problem zone
  • has everything the correct execute permissions set?

from smartstore.

stefanmuellerdo avatar stefanmuellerdo commented on June 9, 2024 1

@AtlantisDe is this still an open issue for you? Please close if fixed. Thanks.

from smartstore.

AtlantisDe avatar AtlantisDe commented on June 9, 2024

this is how I do it under NGINX:

chown -R www-data /var/www/smartstore/ && chgrp -R www-data /var/www/smartstore/ && chmod -R 750 /var/www/smartstore/ && chmod g+s /var/www/smartstore/ && chmod -R g+w /var/www/smartstore/App_Data && chmod -R g+w /var/www/smartstore/Modules && chmod +x /var/www/smartstore/Smartstore.Web

** I've tested it. It didn't work. There should be a problem with the permissions.**

from smartstore.

AtlantisDe avatar AtlantisDe commented on June 9, 2024

@stefanmuellerdo @zihniartar I have successfully installed it on Ubuntu 22.04.4 LTS system.

  • I have successfully installed it on Ubuntu 22.04.4 LTS system.βœ…

  • Permission usage:775

  • mysql Ver 8.0.36-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))

  • AlmaLinux OS : ❣️It failed when I tested it, so I stopped using that OS (AlmaLinux release 9.3 (Shamrock Pampas Cat)) I have time, I will come back and continue testing. It keeps prompting me about permission issues

  • Supervisor : I run it using the root user.

/root/.dotnet/dotnet /www/wwwroot/TestStore/Smartstore.Web.dll --urls 'http://localhost:1001'
  • Config file
[program:TestSmartStoreApp]
command=/root/.dotnet/dotnet /www/wwwroot/TestStore/Smartstore.Web.dll --urls 'http://localhost:1001'
directory=www/wwwroot/TestStore/
autorestart=true
startsecs=3
startretries=3
stdout_logfile=/www/server/panel/plugin/supervisor/log/QDS.out.log
stderr_logfile=/www/server/panel/plugin/supervisor/log/QDS.err.log
stdout_logfile_maxbytes=2MB
stderr_logfile_maxbytes=2MB
user=root
priority=999
numprocs=1
process_name=%(program_name)s_%(process_num)02d
  • Nginx: Finally use Nginx for Reverse proxy

image

from smartstore.

stefanmuellerdo avatar stefanmuellerdo commented on June 9, 2024
  • Running this stuff as root is bad practice and insecure, don't do it unless for internal testing on an isolated local system (and even then, don't do it).

  • Again, please provide the output of ls -l for the installation directory and the requested log files. Should be no security problem. I have a feeling that you have nothing sensitive in there, as you are working as root.

  • Your last screenshot with this click stuff control is not sufficient. Maybe the clicktool failed somehow? Do you have some security tools like SElinunx running? Again, just provide that ls -l output so we can take a look at that. Thank you.

from smartstore.

AtlantisDe avatar AtlantisDe commented on June 9, 2024

@stefanmuellerdo Temporarily closed! When you have time, test this system again.

The current system used is successful: Ubuntu 23.10
OS:AlmaLinux release 9.3 Still waiting for testing. When your next version comes out, I will help test it.

from smartstore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.