Jump to content
thirty bees forum

Petter

Members
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Petter

  1. Ubuntu 20.04 ships with PHP 7.4 as default php implementation.  What is the current status for Thirtybees vs PHP 7.4 ?

    If running PHP 7.4, what problems might I Face ?

  2. And this is the disk performance you can get from a Raspberry Pi 4 if using SSD hard disk:

    Brand: Samsung 850 Evo
    Class: SSD (2.5" SATA)
    Capacity (GB): 250G
    Product: SSD
    Device Details
    Manufacturer: Samsung
    Model: SSD850EVO250GB
    Interface: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
    Rotation Rate (RPM): Solid State Device
    USB Device ID: 1d6b:55aa
    USB Vendor ID: 0x1d6b (Linux Foundation)
    USB Product ID: 0x55aa (Hub)
    USB Storage Driver: uas
    Quirks: None
    Host System Details
    Model: Raspberry Pi 4 Model B Rev 1.1
    Manufacturer: Raspberry Pi Foundation
    Operating System: Raspbian GNU/Linux 10 (buster)
    Architecture: armv7l
    CPU Clock: 1500
    Core Clock: 500
    RAM Clock: 3200
    Benchmark Results
    DD Write Speed: 144
    HD Parm (Disk): 296.36
    HD Parm (Cached): 285.65
    FIO 4K Random Write (IOPS): 8529
    FIO 4K Random Read (IOPS): 22505
    FIO 4K Random Write: 34119
    FIO 4K Random Read: 90021
    IOZone 4K Read: 30884
    IOZone 4K Write: 27975
    IOZone 4K Random Read: 21669
    IOZone 4K Random Write: 34254
  3. pi@raspberrypi:~ $ free -h
                  total        used        free      shared  buff/cache   available
    Mem:          3,9Gi       198Mi       3,5Gi        22Mi       216Mi       3,5Gi
    Swap:          99Mi          0B        99Mi
    pi@raspberrypi:~ $

    +++++++++++++++++++++++++++++++++++++++++++++++

    pi@raspberrypi:~ $ top

    top - 15:26:03 up  1:58,  1 user,  load average: 0,00, 0,00, 0,00
    Tasks: 114 total,   1 running, 113 sleeping,   0 stopped,   0 zombie
    %Cpu(s):  0,1 us,  0,2 sy,  0,0 ni, 99,7 id,  0,1 wa,  0,0 hi,  0,0 si,  0,0 st
    MiB Mem :   3955,6 total,   3540,3 free,    198,2 used,    217,1 buff/cache
    MiB Swap:    100,0 total,    100,0 free,      0,0 used.   3614,0 avail Mem

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND    
     1051 pi        20   0   10624   2856   2480 R   0,7   0,1   0:00.20 top        
      610 mysql     20   0  727116  92712  16020 S   0,3   2,3   0:09.97 mysqld     
        1 root      20   0   33144   7992   6420 S   0,0   0,2   0:04.44 systemd    
        2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd   
        3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp     
        4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp
        8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu+
        9 root      20   0       0      0      0 S   0,0   0,0   0:00.03 ksoftirqd+
       10 root      20   0       0      0      0 I   0,0   0,0   0:01.10 rcu_sched  
       11 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_bh     
       12 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration+
       13 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0    
       14 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1    
       15 root      rt   0       0      0      0 S   0,0   0,0   0:00.01 migration+
       16 root      20   0       0      0      0 S   0,0   0,0   0:00.04 ksoftirqd+
       19 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/2    
       20 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration+
    pi@raspberrypi:~ $

     

    Slow load performance is excepted, the internet connection is a tiny ASDL connection, but when I browse from the local LAN - this raspberry overwhelms me, all operations is very "snappy" and with minimal load times.   - If connecting the Raspberry Pi to a 1gb fiber line I don't thing anyone would believe how fast this site is, given the fact that the server is a Raspberry Pi.

     

     

     

  4. When a unique product is displayed in the shop, it will also be indexed by search engines and visible when users browse the shop.  When this unique product is sold, I want it to be visible only if you have a direct link to the product, this way links from search engines will still be valid when someone clicks the direct link from the search engine. This way I can keep the original product page as a reference and the product information and at the same time suggest other products on that page to the customer so maybe they purchase a similar product.

    A very popular Norwegian web shop komplett.no have this functionality and I have several times searched Google for products that they not any more sell and that is not visible in the web shop, but  google has still the link to the product. When you click the Google link, you will come to the product page with still contains the original information except for price, stock and the purchase button, but also information that this product is no longer available, and they sometimes add tips about similar products.

    This way, especially if you sell large "unique" products can keep information about historic products and generate traffic to your website.

  5. Yes, I now clearly understand, but it would be self explaining if the text said  "The PHP bcmath must be enabled" or "The PHP bcmath extension is required"  or "The PHP bcmath extension is required but not found"

    Also, during the installation there was several wrong file permissions that had to be corrected. No problem for me, but other folks might face problems to correct the permissions.  Installation wizards for some others publish systems / web shops will in such cases show you the correct commands to fix the permissions together with the error message so you just can copy - paste into a terminal window to correct the permissions - this functionality would be nice to have also for the ThirtyBees installation wizard when error messages is displayed.

  6. I just did a plain test, installing Thirty bees - using a Raspberry Pi 4 (4gb)

    Installation is done using Raspbian Buster, Nginx and PHP7.4 - HD is Samsung EVO850 connected with a USB3 adapter. Internet connection is just now for testing just a tiny ADSL line with 1mb bandwidth.

    I did this just to test, and the installation is "plain" without any extra optimizations - and default "test products"   Even so, the performance is not too bad with a Google pagespeed rating of 72% when I tested

    - that's better than most commercial sites,,,  Link to google pagespeed test     If to many of you test this link now, the site will mostly struggle due to the limited 1mb ADSL line that provides internet connection, but also, the test shows that you don't need more than a Raspberry Pi and a decent internet connection to make a minimal shop.

    Site link http://valifest.com

    This site is just a test site and will be removed any time,,

     

    Screenshot_2020-04-29 Configuration Information • Valifest com.png

    • Like 3
  7. I just did a test installation of thirtybees from github.  During the installation wizard, I got the following error  " The PHP bcmath extension is enabled : fail"  I looked all around php.ini and disabled the extension, but still no success even after restarting both nginx and php.   - I found out after a while that the real problem was that the bcmath extension was NOT installed or enabled. After installing the bcmath extension and enabling it, the installation was a success2016198901_Screenshot_2020-04-28thirtybeesInstallationAssistant.png.e88af62b29fef4b7ffbd62f5f9d5559e.png

    Screenshot_2020-04-28 thirty bees Installation Assistant(1).png

  8. To make Thirty bees more attractive for a broad range of potential users  - and therebye more attractive for developers to work on, ther are a few steps that will give better payback on the effort than others:

    • Write articles about instalation of Thirty Bees, for example at howtoforge.com  and other popular websites.  Take contact with editors of similar websites like howotforge and make them interested in writing articles.
    • Enable PayPal donations for Thirty bees, but also for invidual developers making it attractive for invidual developers to contribute to Thirtybees.
    • Make it easy to install and test for newbies at home - Even small - Raspberry pi ( especially pi4 4gb) is fully capable to run Thirtybees - Make Thirty bees images based on raspbian or Ubuntuserver 20.04 avaialble for download so people can play with and learn Thirty bees. Also docker images and  virtual images to be used for Virtualbox / Vmware  and other hypervisors on more powerfull platforms than the pi.
    • Corona makes people stay at home. If you have your own registred domain name - you can start your small shop from a server running in your house using dynamicdns.  If you have a 10 year old laptop or pc laying around, replace the hard drive with an SSD, fill it up with ram and install your choise of linux server on it - it will run faster than most virtual servers and will be for free. - The day performance of this old stuff is not suficient is your sucess day because you have a lot of customers comming to your web site !  - Thirty bees is perfect for a such solutuion.
    • Write articles abut your "home webshop" above and make more folks do the same,,,, and so on,,, and so on,,,,
  9. When using attachments to products in prestashop 1.6x  there is a limitation for max 32 characters for filename and characters.  This is very annoying and will have to be manually changed in the database an template to be updated to an acceptable length.  I just tried the Thirtybees admin demo and the same problem exist in Thirty bees(admin demo)  This value should by default be changed to something like 128 characters or more.

    If you just have a few attachments stored you can maybe do with the default 32 characters, but if you have hundred of attachments or more it is impossible to give them meaningful names so you can chose correct attachment to a product form existing attachments.attachment to a pr

    • Like 2
  10. When adding attachments to a product it seems simple for the first attachments.

    But after a while when you maybe have added 100's of attachments and either wants for re use them for other products, or want to delete them for obsolete products, it is difficult to know witch products they originally was intended for and / or belonging to. 

    The product Attachments page need a major update so it will be possible to organize them easily and find out witch products they are linked to/witch products that are linked to them a structured way, date of creation, free text search, tags and preview and possible other features making it easy to organize the attachments.

  11. I'm just cheeking out Thiry Bees. Today I'm running a shop using Prestashop 1.6x  and looking for a future since 1.6x series of Prestashop seems to soon be end of life. after looking at Prestashop 1.7 - changing to 1.7 series in the future will not be an option.

    Today, I'm satisfied with the performance of my shop, getting 95-98 % results in google pagespeed and also good ratings in other page tests.  I'm try to keep the website feel responsive without delays for my customers. When reading about Thirty bees, is seems to be the future for Prestashop 1.6x users. Also reading about the optimizations for caching and pagespeed is seems promising.  I also tried to test several of the sites listed running Thirty bees, using google pagespeed, I was generally not very impressed (except for one site archiving 100%)  So it seems even if Thirty bees sited still need someone to really fine tune the installation and apply possible fine tuning of the installation to get good performance ?

    What about indexing of tables in the database, have the database for thirty bees added additional indexes for tha tables compared to the normal Prestashop 1.6x series ?

    My current Prestashop 1.6X instalation is  Ubuntu 16.04x64, Nginx compiled with google pagspeed module, Percona database, php 7.0  - running on an old HP Proliant G6 that I bought used for about USD $ 200,-

×
×
  • Create New...