Jump to content

Prestashop 9 - Nginx - Linux fresh Server


bad_pussycat

Recommended Posts

sorry I looked for /var/log/nginx/* but in the internal log system in the admin UI I have errors

Cannot register tab "PsshippingCarrierController" because it already exists

like I said its a new installation on a fresh server one thing happened thing the installation (I thought my cloud server would be fast enough) I ran into a fast_cgi_timeout after setting the timeout higher in the nginx config I just reload the page (without deleting the db tables - I dunno if the install script took care of this correctly but I think I read it so I just reload and start the install again)

maybe this is the reason

anyway will install from scratch now again

Link to comment
Share on other sites

Hey Michael, sounds like Prestashop is playing hide and seek with your backend! That HTTP 500 might be due to missing permissions or a misstep in the nginx config—double-check the fastcgi params. Also, make sure all PHP modules are good with 8.3. And hey, if your current server provider is making life tough, you might wanna peek at HostNoc—they know how to keep things running without drama!

Link to comment
Share on other sites

New versions of prestashop are only for programmer-testers.

You have to wait a year or so until millions of bugs are fixed and only then can you try to run a store on it.

  • Like 1
Link to comment
Share on other sites

Ah sorry, I forgot to give feedback. It was all my fault! Like I said I ran into this fast_cgi_timeout and failed to drop the database while reinstalling. I installed again this time with a clean DB and it worked!

@ yabber This Version is officially released and not a development version anymore. And I like it!

Link to comment
Share on other sites

Hi,

my experience is similar.

Frontend ok Backend no way


Fresh installation presta 9, fresh db fresh folder on webhost provider where I host also old presta versions that work fine.

front end works fine

backend no way to have access. 

Install folder deleted as usual

Admin folder automatically renamed by presta installer and or me same results, php8 php 81 82 and 84 same results. No way to access debugmode.
No idea what is going on.

Cheers

Boris

 

adminloginpage.png

storefront.png

Link to comment
Share on other sites

37 minutes ago, Aeriko said:

Hi,

my experience is similar.

Frontend ok Backend no way


Fresh installation presta 9, fresh db fresh folder on webhost provider where I host also old presta versions that work fine.

front end works fine

backend no way to have access. 

Install folder deleted as usual

Admin folder automatically renamed by presta installer and or me same results, php8 php 81 82 and 84 same results. No way to access debugmode.
No idea what is going on.

Cheers

Boris

 

adminloginpage.png

storefront.png

if using 9.0.1

report issue on github

https://github.com/PrestaShop/PrestaShop/issues

Link to comment
Share on other sites

5 hours ago, Aeriko said:

@El Patron Using prestashop_edition_basic_version_9.0.0-1.0 downloaded from the Prestashop official site.

search issue on github and see if fixed in 9.0.1

here is link to 9.0.1  if your issue is not there, you can create an issue report.  Post link to the github issue to let others know.

  • Thanks 1
Link to comment
Share on other sites

6 hours ago, El Patron said:

search issue on github and see if fixed in 9.0.1

here is link to 9.0.1  if your issue is not there, you can create an issue report.  Post link to the github issue to let others know.

I followed your suggestion, I opened an issue. We will see what we'll get. :)

  • Like 1
Link to comment
Share on other sites

Posted (edited)

Are you guys serving with nginx? If so, please don't forget to write your admindir to the server config

 

    # [EDIT] Replace 'admin-dev' in this block with the name of your admin directory.
    location /admin-dev/ {
        try_files $uri $uri/ /admin-dev/index.php$is_args$args;
    }


https://devdocs.prestashop-project.org/9/basics/installation/advanced/nginx/
 

Edited by bad_pussycat
link to example conf (see edit history)
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...
On 7/1/2025 at 9:29 AM, bad_pussycat said:

Are you guys serving with nginx? If so, please don't forget to write your admindir to the server config

 

    # [EDIT] Replace 'admin-dev' in this block with the name of your admin directory.
    location /admin-dev/ {
        try_files $uri $uri/ /admin-dev/index.php$is_args$args;
    }


https://devdocs.prestashop-project.org/9/basics/installation/advanced/nginx/
 

@bad_pussycat

I ll try also this can you please share which file I have to edit in prestashop and where it is located? Take into account that I installed presta on a web hosting provider so there are configurations that I have not access.

Thank you

B.

Link to comment
Share on other sites

31 minutes ago, Aeriko said:

@bad_pussycat

I ll try also this can you please share which file I have to edit in prestashop and where it is located? Take into account that I installed presta on a web hosting provider so there are configurations that I have not access.

Thank you

B.

Hi Aeriko,

This is no Prestashop file!

If you installed on a web hosting provider and you don't have access to the server directly, I guess there is not much you ca do but to ask the staff of that said host. but chances are you host works with apache anyway and then you don't need to change anything (I guess Prestashop itself change the .htaccess file so you don't have to)

So your frontend works? And backend not?
What Error do you get?

Link to comment
Share on other sites

I quickly tried an upgrade on a local docker container (was 8.2.0 I think) and get an ssl loop in back office login with nginx proxy manager so gave up until I have time to look at it properly. Maybe ssl handling has been "improved" or "updated". You can turn ssl off (in database) and back office works for me though.

SSL misconfiguration can give a 500 server error.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...