Jump to content
  • 0

Fresh installation with Ubuntu 18.04 doesn't work


Kimmo H

Question

First time try to install blesta and looking really bad.... Linux admin for 15 years.. What should i do, i've try both GUI and CLi install, neither works.. ?

System is Proxmox VM with Ubuntu 18.04 LTS which has PHP 7.2

----------------------------------------
Blesta CLI Installer
----------------------------------------
Please acknowledge your agreement to the terms and conditions as explained at
            
http://www.blesta.com/license/

Do you agree? (Y/N): Y
Performing system requirements check...
The following recommended requirements failed:
        ext-mcrypt: The mcrypt extension is recommended for better performance.
Do you wish to continue anyway? (Y): Y
You will now be asked to enter your database credentials.
Database host (default localhost): 
Database name: c432*****
Database user: c432***
Database password: ***********
Attempting to verify database credentials... PHP Fatal error:  The file /var/www/clients/client432/web624/web/app/models/license.php was encoded by the ionCube Encoder for PHP 5.4 and cannot run under PHP 7.1 or later.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0
root@web4:~# 

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Ah ok, i thought when i download newest version i don't have to add any hotfixes... ?

Anyway, it wen't thru but then to the next problem:

Something went wrong.

realpath(): open_basedir restriction in effect. File(/var/www/clients/client432/web624) is not within the allowed path(s): (/var/www/clients/client432/web624/web:/var/www/clients/client432/web624/private:/var/www/clients/client432/web624/tmp:/var/www/login.****.***/web:/srv/www/login.*****.**/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom)

Link to comment
Share on other sites

  • 0

Disabling open_basedir is the simplest solution, but you could alternatively include all paths that Blesta must access. Off the top of my head, the install directory, the uploads directory, the temp directory (/tmp/) to start. phpseclib also tries to access /dev/random, /dev/urandom for encryption purposes. It's easier to leave open_basedir disabled, but that's up to you. We also recommend running Blesta on its own server (A VPS will do) without any other applications, but many run in it a shared environment.

Link to comment
Share on other sites

  • 0

root@web4:/var/www/login.open365.fi# find . | grep logs_blesta
root@web4:/var/www/login.open365.fi#

-------------------------------------------------------------------

Can't find any logs, but blesta is installed..

-------------------------------------------------------------------

root@web4:/var/www/login.open365.fi# find . | grep blesta


./web/vendors/blesta
./web/vendors/blesta/pricing
./web/vendors/blesta/pricing/.travis.yml
./web/vendors/blesta/pricing/README.md
./web/vendors/blesta/pricing/composer.json
./web/vendors/blesta/pricing/ruleset.xml
./web/vendors/blesta/pricing/tests
./web/vendors/blesta/pricing/tests/Unit
./web/vendors/blesta/pricing/tests/Unit/Description
./web/vendors/blesta/pricing/tests/Unit/Description/AbstractPriceDescriptionTest.php
./web/vendors/blesta/pricing/tests/Unit/Collection
./web/vendors/blesta/pricing/tests/Unit/Collection/ItemPriceCollectionTest.php
./web/vendors/blesta/pricing/tests/Unit/PricingFactoryTest.php
./web/vendors/blesta/pricing/tests/Unit/Modifier
./web/vendors/blesta/pricing/tests/Unit/Modifier/TaxPriceTest.php
./web/vendors/blesta/pricing/tests/Unit/Modifier/DiscountPriceTest.php
./web/vendors/blesta/pricing/tests/Unit/Modifier/AbstractPriceModifierTest.php
./web/vendors/blesta/pricing/tests/Unit/Type
./web/vendors/blesta/pricing/tests/Unit/Type/UnitPriceTest.php
./web/vendors/blesta/pricing/tests/Unit/Type/ItemPriceTest.php
./web/vendors/blesta/pricing/src
./web/vendors/blesta/pricing/src/Description
./web/vendors/blesta/pricing/src/Description/AbstractPriceDescription.php
./web/vendors/blesta/pricing/src/Description/PriceDescriptionInterface.php
./web/vendors/blesta/pricing/src/Collection
./web/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php
./web/vendors/blesta/pricing/src/Modifier
./web/vendors/blesta/pricing/src/Modifier/AbstractPriceModifier.php
./web/vendors/blesta/pricing/src/Modifier/ItemComparatorInterface.php
./web/vendors/blesta/pricing/src/Modifier/TaxPrice.php
./web/vendors/blesta/pricing/src/Modifier/DiscountPrice.php
./web/vendors/blesta/pricing/src/Modifier/PriceModifierInterface.php
./web/vendors/blesta/pricing/src/Total
./web/vendors/blesta/pricing/src/Total/PriceTotalInterface.php
./web/vendors/blesta/pricing/src/PricingFactory.php
./web/vendors/blesta/pricing/src/Type
./web/vendors/blesta/pricing/src/Type/ItemPrice.php
./web/vendors/blesta/pricing/src/Type/UnitPrice.php
./web/vendors/blesta/pricing/src/Type/PriceInterface.php
./web/vendors/blesta/pricing/phpunit.xml.dist
./web/vendors/blesta/composer-installer
./web/vendors/blesta/composer-installer/.travis.yml
./web/vendors/blesta/composer-installer/README.md
./web/vendors/blesta/composer-installer/composer.json
./web/vendors/blesta/composer-installer/tests
./web/vendors/blesta/composer-installer/tests/Unit
./web/vendors/blesta/composer-installer/tests/Unit/BlestaInstallerTest.php
./web/vendors/blesta/composer-installer/tests/Unit/InstallerTest.php
./web/vendors/blesta/composer-installer/src
./web/vendors/blesta/composer-installer/src/Installer.php
./web/vendors/blesta/composer-installer/src/BlestaInstaller.php
./web/vendors/blesta/composer-installer/LICENSE
./web/vendors/blesta/composer-installer/phpunit.xml.dist
./web/vendors/blesta/reseller-api
./web/vendors/blesta/reseller-api/.travis.yml
./web/vendors/blesta/reseller-api/README.md
./web/vendors/blesta/reseller-api/composer.json
./web/vendors/blesta/reseller-api/tests
./web/vendors/blesta/reseller-api/tests/unit
./web/vendors/blesta/reseller-api/tests/unit/ConnectionTest.php
./web/vendors/blesta/reseller-api/tests/unit/Command
./web/vendors/blesta/reseller-api/tests/unit/Command/PackagesTest.php
./web/vendors/blesta/reseller-api/tests/unit/Command/CommandFactoryTest.php
./web/vendors/blesta/reseller-api/tests/unit/Command/BaseCommand.php
./web/vendors/blesta/reseller-api/tests/unit/Command/SearchTest.php
./web/vendors/blesta/reseller-api/tests/unit/Command/CreditsTest.php
./web/vendors/blesta/reseller-api/tests/unit/Command/LicensesTest.php
./web/vendors/blesta/reseller-api/tests/unit/Fixture
./web/vendors/blesta/reseller-api/tests/unit/Fixture/response.json
./web/vendors/blesta/reseller-api/tests/unit/Fixture/message.json
./web/vendors/blesta/reseller-api/tests/unit/Fixture/error.json
./web/vendors/blesta/reseller-api/tests/unit/ResponseTest.php
./web/vendors/blesta/reseller-api/src
./web/vendors/blesta/reseller-api/src/Connection.php
./web/vendors/blesta/reseller-api/src/Command
./web/vendors/blesta/reseller-api/src/Command/AbstractCommand.php
./web/vendors/blesta/reseller-api/src/Command/Licenses.php
./web/vendors/blesta/reseller-api/src/Command/Credits.php
./web/vendors/blesta/reseller-api/src/Command/CommandInterface.php
./web/vendors/blesta/reseller-api/src/Command/Packages.php
./web/vendors/blesta/reseller-api/src/Command/Search.php
./web/vendors/blesta/reseller-api/src/Command/CommandFactory.php
./web/vendors/blesta/reseller-api/src/ConnectionInterface.php
./web/vendors/blesta/reseller-api/src/Response.php
./web/vendors/blesta/reseller-api/src/ResponseInterface.php
./web/vendors/blesta/reseller-api/LICENSE
./web/vendors/blesta/reseller-api/phpunit.xml.dist
./web/vendors/blesta/items
./web/vendors/blesta/items/README.md
./web/vendors/blesta/items/composer.lock
./web/vendors/blesta/items/composer.json
./web/vendors/blesta/items/tests
./web/vendors/blesta/items/tests/Unit
./web/vendors/blesta/items/tests/Unit/Item
./web/vendors/blesta/items/tests/Unit/Item/ItemTest.php
./web/vendors/blesta/items/tests/Unit/Item/ItemMapTest.php
./web/vendors/blesta/items/tests/Unit/Collection
./web/vendors/blesta/items/tests/Unit/Collection/ItemCollectionTest.php
./web/vendors/blesta/items/tests/Unit/ItemFactoryTest.php
./web/vendors/blesta/items/src
./web/vendors/blesta/items/src/Item
./web/vendors/blesta/items/src/Item/ItemMap.php
./web/vendors/blesta/items/src/Item/Item.php
./web/vendors/blesta/items/src/Item/ItemInterface.php
./web/vendors/blesta/items/src/Collection
./web/vendors/blesta/items/src/Collection/ItemCollection.php
./web/vendors/blesta/items/src/ItemFactory.php
./web/vendors/blesta/items/LICENSE
./web/vendors/blesta/items/phpunit.xml.dist
./web/vendors/blesta/proration
./web/vendors/blesta/proration/README.md
./web/vendors/blesta/proration/composer.json
./web/vendors/blesta/proration/tests
./web/vendors/blesta/proration/tests/Unit
./web/vendors/blesta/proration/tests/Unit/ProrationTest.php
./web/vendors/blesta/proration/src
./web/vendors/blesta/proration/src/Proration.php
./web/vendors/blesta/proration/phpunit.xml.dist
./web/config/blesta.php
./web/plugins/import_manager/components/migrators/blesta
./web/plugins/import_manager/components/migrators/blesta/blesta_migrator.php
./web/plugins/import_manager/components/migrators/blesta/2.5
./web/plugins/import_manager/components/migrators/blesta/2.5/config
./web/plugins/import_manager/components/migrators/blesta/2.5/config/voip.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/vpsnet.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/directadmin.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/blesta.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/hypervm.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/plesk.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/jungledisk.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/nominet.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/blesta_resell.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/updates.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/virtualmin.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/cpanel.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/onlinenic.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/solusvm_xen.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/namecheap.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/helm.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/dialupusa.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/solusvm_kvm.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/opensrs.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/enom.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/reseller_club.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/generic_domain.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/solusvm_openvz.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/none.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/broadsat.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/centovacast.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/kloxo.php
./web/plugins/import_manager/components/migrators/blesta/2.5/config/interworx.php
./web/plugins/import_manager/components/migrators/blesta/2.5/language
./web/plugins/import_manager/components/migrators/blesta/2.5/language/en_us
./web/plugins/import_manager/components/migrators/blesta/2.5/language/en_us/blesta2_5.php
./web/plugins/import_manager/components/migrators/blesta/2.5/views
./web/plugins/import_manager/components/migrators/blesta/2.5/views/default
./web/plugins/import_manager/components/migrators/blesta/2.5/views/default/configuration.pdt
./web/plugins/import_manager/components/migrators/blesta/2.5/views/default/settings.pdt
./web/plugins/import_manager/components/migrators/blesta/2.5/blesta2_5.php
./web/plugins/import_manager/components/migrators/blesta/info.json
./web/components/modules/blesta_license
./web/components/modules/blesta_license/config.json
./web/components/modules/blesta_license/composer.json
./web/components/modules/blesta_license/language
./web/components/modules/blesta_license/language/en_us
./web/components/modules/blesta_license/language/en_us/license_module.php
./web/components/modules/blesta_license/src
./web/components/modules/blesta_license/src/Module.php
./web/components/modules/blesta_license/src/Component
./web/components/modules/blesta_license/src/Component/Service.php
./web/components/modules/blesta_license/src/Component/Package.php
./web/components/modules/blesta_license/src/Component/ComponentFactory.php
./web/components/modules/blesta_license/src/Component/AbstractComponent.php
./web/components/modules/blesta_license/src/views
./web/components/modules/blesta_license/src/views/default
./web/components/modules/blesta_license/src/views/default/manage.pdt
./web/components/modules/blesta_license/src/views/default/tab_reissue.pdt
./web/components/modules/blesta_license/src/views/default/edit_row.pdt
./web/components/modules/blesta_license/src/views/default/tab_client_reissue.pdt
./web/components/modules/blesta_license/src/views/default/images
./web/components/modules/blesta_license/src/views/default/images/logo.png
./web/components/modules/blesta_license/src/views/default/add_row.pdt
./web/components/modules/blesta_license/blesta_license.php
root@web4:/var/www/login.open365.fi#

 

Link to comment
Share on other sites

  • 0

I did now and and get some data which doesn't help me, im Linux admin and don't have deep knowledge oh PHP:

https://login.open365.fi/index.php/order/cart/index/Label_without_spaces/

 Something went wrong.

Files does not exist: /var/www/clients/client432/web624/web/plugins/order/views/templates/ajax/cart.pdt on line 158 in /var/www/clients/client432/web624/web/vendors/minphp/bridge/src/Lib/View.php 

Printing Stack Trace: 
#0 /var/www/clients/client432/web624/web/vendors/minphp/bridge/src/Lib/Controller.php(321): View->fetch('/var/www/client...', NULL)
#1 /var/www/clients/client432/web624/web/vendors/minphp/bridge/src/Lib/Dispatcher.php(173): Controller->render()
#2 /var/www/clients/client432/web624/web/index.php(21): Dispatcher::dispatch('/index.php/orde...')
#3 {main}

I'm coming from WHMCS and just try to get simple order page working to test Blesta..

Link to comment
Share on other sites

  • 0

The problem is that you are trying to access the /cart/ URI on an AJAX order form template. The AJAX order form templates don't have a cart template because the AJAX template represents a single page that makes AJAX requests for most of the checkout process (including the cart), so there is no cart page.

I'm curious how you got to that page, though, are you linking directly to it? If so, take a look at how to link directly to a product.

If you want that link to work, you can update your order form to use one of the Wizard templates instead.

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...