Jump to content
thirty bees forum

Database crashed I tried to move it to a different disk and the files disapeared. I lost my shop and now I cannot reinstall it.


officerat

Recommended Posts

It simply will not reconnect to database on  unraid on mysql on a fresh installation. I keep getting this error I tried reinstalling mysql a dozen times and created 20 new databases it always gets stuck around 75% with this error.

It cant find a line it needs or it can't create part of the table. Why is this happening, it worked for the longest time but now mysql wont allow it work. The connection tested ok.

problem.jpg

Link to comment
Share on other sites

I tried to install 1.08 thirtybees and I get a completely different error 

  1. Ajax request failed for process installDatabase=true with error.

My thoughts were that I could just install an older version which worked before then update it. No dice.

Here are NGINX logs:

s6-rc: info: service init-mods: stopping
s6-rc: info: service init-mods successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/02-tamper-check
cont-init: info: /etc/cont-init.d/02-tamper-check exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/11-folders
cont-init: info: /etc/cont-init.d/11-folders exited 0
cont-init: info: running /etc/cont-init.d/12-samples
cont-init: info: /etc/cont-init.d/12-samples exited 0
cont-init: info: running /etc/cont-init.d/13-nginx
cont-init: info: /etc/cont-init.d/13-nginx exited 0
cont-init: info: running /etc/cont-init.d/14-php
cont-init: info: /etc/cont-init.d/14-php exited 0
cont-init: info: running /etc/cont-init.d/15-keygen
cont-init: info: /etc/cont-init.d/15-keygen exited 0
cont-init: info: running /etc/cont-init.d/20-permissions
cont-init: info: /etc/cont-init.d/20-permissions exited 0
cont-init: info: running /etc/cont-init.d/70-outdated
cont-init: info: /etc/cont-init.d/70-outdated exited 0
cont-init: info: running /etc/cont-init.d/85-version-checks
cont-init: info: /etc/cont-init.d/85-version-checks exited 0
cont-init: info: running /etc/cont-init.d/90-custom-folders
cont-init: info: /etc/cont-init.d/90-custom-folders exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun cron (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun php-fpm (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
s6-rc: info: service 99-ci-service-check successfully started
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
**** The folders '/config/custom-cont-init.d' or '/config/custom-services.d'; or some of their contents have write permissions for others, which is a security risk. ****
**** Please review the permissions of these two folders and their contents to make sure they are owned by root, and can only be modified by root. ****
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    99
User gid:    100
-------------------------------------

using keys found in /config/keys
[custom-init] no custom files found exiting...
[ls.io-init] done.
 

Link to comment
Share on other sites

I just figured this out too. I need php 7.4 but I cannot find any way to downgrade my NGINX. There was one very long day I spent 12 hours and then about an hour ago I realized that thirtybees won't support PHP 8 and I turned my attention to the one store that does. I wish I had known sooner I tried everything to install it. The solution is Opencart. It supports PHP 8 and it installed on the second try. I admit I didn't get it the first time around. I had to reboot and all that stuff and delete and cleanup my mess of installations from thirtybees first. With much regret I must leave thirtybees now becuase the world has moved onto PHP 8 and there is no longer any way to install it unless you rent a webserver and ask a professional to downgrade the PHP. I couldn't figure it out on docker. If anyone comes across this situation don't spend an entire day on it check your php version by typing php -v into console.

root@cb248ccfb3c1:/# php -v
PHP 8.0.18 (cli) (built: Apr 22 2022 22:53:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.18, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.18, Copyright (c), by Zend Technologies
root@cb248ccfb3c1:/# 

Opencart is confirmed to support this php version. Goodbye thirtybees 😞 I will miss your forums.

Screenshot_20220916-011033_WhatsAppBusiness.jpg

Screenshot_20220916-011020_WhatsAppBusiness.jpg

success.jpg

Link to comment
Share on other sites

5 minutes ago, officerat said:

I just figured this out too. I need php 7.4 but I cannot find any way to downgrade my NGINX.

This has nothing to do with nginx, that's just a proxy server.

5 minutes ago, officerat said:

There was one very long day I spent 12 hours and then about an hour ago I realized that thirtybees won't support PHP 8

It does support PHP8 - bleeding edge works with PHP8 quite it nicely. We will soon release it officially as 1.4. Meanwhile, you can download code from github and use that one.

 

  • Like 1
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...