Jump to content
  • 0

After upgrade auto invoice generation stopped


hdpixel

Question

Hello everyone,

I've been running Blesta for a while now and I've been upgrading successfully. This is the first time where I have the following issue.

Working version: 4.4.2 (on this version, I don't get the error below but invoices are not automatically generated)

After I upgraded to 4.5.0, the invoices are not automatically generated. Also, I'm getting the error below when I click on 'Browse Packages' and 'Package Groups'.

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'myhdpixe_blesta.package_names' doesn't exist

PHP version: 7.3.8

nginx/1.17.2

CURL: 7.29.0

ionCube: v10.3.7

Maria SQL: mysql  Ver 15.1 Distrib 10.0.38-MariaDB - (from phpinfo: mysqlnd 5.0.12-dev/pdo_mysql)

 

I'm suspecting that blesta code might not be compatible with php 7.3.8 or nginx 1.17.2?

Should I go back to previous version of PHP or nginx?

Please let me know if you need additional information.


Thank you.

 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Yes, I’ve been doing that every time I upgrade the files.

UPDATE:

I restored (files dated 7/25/2019) Blesta to 4.4.2 version (but not the db). Should I also restore the db to 4.4.2?  

 

Note: Blesta was able to auto generate invoices on 8/1/2019 after I upgraded to 4.6. Sometimes after 8/1, I upgraded php, ioncube, and ngnix to the latest. And it’s probably the reason on 9/1/2019 invoices and services were not automatically renewed.

Also, I downgraded to php 7.1x, appropriate ioncube file version for php 7.1, and hot fix file for blesta. Now, all the links in the admin work without an issue.

Unfortunately, auto invoice and service renewals is not happening. I have run the cron job manually, and the run was successful.

What else should I try? I am thinking of moving the installation to an Apache web server.

 

Thank you.

Link to comment
Share on other sites

  • 0
4 hours ago, hdpixel said:

Yes, I’ve been doing that every time I upgrade the files.

UPDATE:

I restored (files dated 7/25/2019) Blesta to 4.4.2 version (but not the db). Should I also restore the db to 4.4.2?  

 

Note: Blesta was able to auto generate invoices on 8/1/2019 after I upgraded to 4.6. Sometimes after 8/1, I upgraded php, ioncube, and ngnix to the latest. And it’s probably the reason on 9/1/2019 invoices and services were not automatically renewed.

Also, I downgraded to php 7.1x, appropriate ioncube file version for php 7.1, and hot fix file for blesta. Now, all the links in the admin work without an issue.

Unfortunately, auto invoice and service renewals is not happening. I have run the cron job manually, and the run was successful.

What else should I try? I am thinking of moving the installation to an Apache web server.

 

Thank you.

yeah you need to restore the DB the DB has the changes in every version.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...