Jump to content
thirty bees forum

DaoKakao

Members
  • Posts

    262
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by DaoKakao

  1. It depends on your hosting. I have a dedicated server, so i do that thru ssh from the server. If you have something like a cPanel or Plesk, then try to find something like a 'shell' or 'command interpreteur', 'command line' or something similar.
  2. @fathira I think, the better way is to start from the ground. Have you got possibility to check accessibility of TB site from your hosting platform? I mean, have you tried simply make a $ping thirtybees.com or $tracepath thirtybees.com ? What was the answer of that commands?
  3. BTW, i've found, that Chrome (and its derives) aren't implements all js/w3c standards completely. So, i use firefox beta for it - and got rid of plenty of problems.
  4. @nickon When i've made a choise between PS and Magento, there was one thing which lead to edge PS over Magento: it was noted everywhere, that ANY Magento installation NEED to get additional coding. So, as a lazy man, i've decided to value my time and not to dive deeply in the coding. Summarizing all that, i've chose TB/PS because it has not so high entrance price, having a lot of features at the same time.
  5. Oops!. @Fathira, my first post was more related to topicstarter's issue. So, my advices more suitable for him. As for you, it seems, there's no connection with TB servers, when updater wrote "not available"
  6. @fathira said in Installation in Spanish is stopped in 75%: maxexecutiontime 30 Too small. 300 or 600 is good enough @fathira said in Installation in Spanish is stopped in 75%: maxinputvars 1000 Too few! Should be at least of 10000 or even 12000
  7. You welcome! BTW, php 7.1 isn't very suitable for TB/PS for a while. I had to rollback on 7.0.x
  8. You have to examine your php and webserver config. .../fpm/php.ini maxexecutiontime = 600 maxinputtime = 600 defaultsockettimeout = 600 nginx.conf: sendtimeout 600s; fastcgisendtimeout 600s; fastcgiread_timeout 600s; php-fpm.conf: server unix:/run/php/php7.0-fpm.sock weight=1 fail_timeout=600s;
  9. This is definitely timeout-related issue. When installed TB (with Russian language) for the first time, on clean environment, i've got no issues. My php/nginx config includes long timeouts - 600 sec, or even 1200. I figured out that values when updated a lot of images.
  10. Just because i'd like to test it. IRL i do the way you've figured out, i even published my own backup script here, in the topic related to 1.0.2 upgrade.
  11. TB updater wrote me this at the very begin of backup: " Backup files in progress. 3591760 files left. " Can't even imaginge where it get so many files. Does it tries to backup all my system image? :)
  12. DaoKakao

    Translation

    You the best! Thanks a lot! ;)
  13. DaoKakao

    Translation

    Pl, don't worry. Most of sentences are ok. I've been worrying more about some sentences which are same in english, but has different translations in Russian, depending on context. Fortunately, there's very few of such issues. What should i do in that cases? Open an issue in github?
  14. DaoKakao

    Translation

    Strange... Well, nevermind. I'll go thru approved and check again
  15. DaoKakao

    Translation

    Want to start from position at the morning, i've already made near 40% of checks/approves
  16. DaoKakao

    Translation

    It's a pity that admins approved all unapproved sentences in one fell swoop... I hoped to go thru translation thorougly, because it has some stylistic, semantic and syntax mistakes. Will it be a great insolence to ask @mdekker to revert this?
  17. Perhaps this backup script could be useful for someone. It makes backup of /etc, root of /www, dumps all mysql databases as text and also mysql binary files within the mysql binary logs. ``` !/bin/bash echo "========= !!! Should be ran manually as root !!! ==========" BKDATE=date '+%F' BKTIME=date '+%Hh%Mm%Ss' BKTIME1=date '+%T' BKDIR="./backups/full"$BKDATE""$BKTIME.backup BKDIR="/var/backups/full"$BKDATE""$BKTIME.backup BKLOGFILE="/var/log/backup"$BKDATE""$BKTIME1".log" echo "Starting backup at date:" $BKDATE"; time:" $BKTIME1"; backup dir: "$BKDIR 2>&1 | tee -a $BKLOGFILE echo "==================================================================================================================" 2>&1 | tee -a $BKLOGFILE #######echo "Starting backup at "date '+%F %T' 2>&1 | tee /var/log/backup_date '+%F_%T'.log echo -n "Creating directory" $BKDIR 2>&1 | tee -a $BKLOGFILE mkdir -p $BKDIR if [ $? -ne 0 ]; then echo " ... FAIL! Error code:"$? 2>&1 | tee -a $BKLOGFILE exit 1; else echo " ... Ok" 2>&1 | tee -a $BKLOGFILE fi addin' self-copy of this script to backup cp ./backup-all.sh $BKDIR/backup-all.sh cd $BKDIR echo -n "Backing up /etc ... " 2>&1 | tee -a $BKLOGFILE #######read -rsp $'Press any key to start...\n' -n 1 key tar -cjvpf $BKDIR/etc.tbz2 /etc if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo "Backing up webroot home dirs ... " 2>&1 | tee -a $BKLOGFILE ######read -rsp $'Press any key to start...\n' -n 1 key echo -n "Trying to stop NGINX ... " 2>&1 | tee -a $BKLOGFILE systemctl stop nginx if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 1; fi echo "Ok, NGINX stopped" 2>&1 | tee -a $BKLOGFILE echo -n "Compressing weboot dirs ... " 2>&1 | tee -a $BKLOGFILE tar -cjvpf $BKDIR/www.tbz2 /home-of-your-www if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE systemctl start nginx if [ $? -ne 0 ]; then echo "\nFailed to start NGINX! Error code:"$? 2>&1 | tee -a $BKLOGFILE exit 2; fi exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo -n "Backing up mysql/mariadb database as text ... " ######read -rsp $'Press any key to start...\n' -n 1 key here you can add specific mysql user who have enough rights to make database dumps mysqldump -uroot -pxxxxxxxxxx -A | bzip2 > $BKDIR/alldatabases.sql.bz2 if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE systemctl start nginx if [ $? -ne 0 ]; then echo "\nFailed to start NGINX! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 2; fi exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo "Backing up mysql binary files ... " This is redundant, but could be the last resort whel restoring #####read -rsp $'Press any key to start...\n' -n 1 key echo -n "Trying to stop Mysql/Mariadb ... " 2>&1 | tee -a $BKLOGFILE systemctl stop mariadb if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE systemctl start nginx if [ $? -ne 0 ]; then echo "\nFailed to start NGINX! Error code:"$? 2>&1 | tee -a $BKLOGFILE exit 2; fi exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo -n "Compressing binaries ... " 2>&1 | tee -a $BKLOGFILE tar -cjvpf $BKDIR/alldatabases-bin.tbz2 /var/lib/mysql /var/log/mysql if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE systemctl start mariadb if [ $? -ne 0 ]; then echo "\nFailed to start mysql/mariadb! Error code: "$? 2>&1 | tee -a $BKLOGFILE fi systemctl start nginx if [ $? -ne 0 ]; then echo "\nFailed to start NGINX! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 2; fi exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo -n "Trying to start Mysql/Mariadb ... " 2>&1 | tee -a $BKLOGFILE systemctl start mariadb if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE systemctl start nginx if [ $? -ne 0 ]; then echo "\nFailed to start NGINX! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 2; fi exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE echo -n "Trying to start NGINX ... " 2>&1 | tee -a $BKLOGFILE systemctl start nginx if [ $? -ne 0 ]; then echo "FAIL! Error code: "$? 2>&1 | tee -a $BKLOGFILE exit 1; fi echo "Ok" 2>&1 | tee -a $BKLOGFILE this for ease access from (s)ftp / scp change to whatever you want or remove if not necessary chown -R backupoperatorusername:backupoperatorgroup $BKDIR echo "======= !!!! ALL DONE !!!! =======" 2>&1 | tee -a $BKLOGFILE ```
  18. DaoKakao

    Translation

    I just tried to hint one simple thing, such as metrology. When i studied in the university, yet from the very beginning all teachers just hammered this subject in student's heads.
  19. @zanpo said in Migration error from Prestashop on PHP 7.1.18: Better in what way? Stability, reliability, and, of course, speed... Try to google forums, stackoverflow, et c.
  20. BTW, some guides insists, that if we have nginx+fastcgi on same machine, it would be better to use unix sockets instead of tcp.
  21. Unfortunately, it seems, that we're far from PHP 7.1.x - all PS 1.6.x, 1.7.x and TB aren't fully compatible with that version of PHP. I had same webserver, i.e. latest nginx+php 7.1.x and had to rollback to 7.0
  22. This is too few. What i can see however - maxexecutiontime is too short. I've set it to 600 As said @yaniv14 try to disable apache mod_security and try to review an apache config
  23. Hmmmm... it depends... 4 instance, i have a nginx installation, and it could differ from apache. General idea is to examine the current configuration. It could contain directives making implicit/explicit redirects for unknown/notfound/errorous pages. So, within configuration check it is also good idea to look into error/access logs for any kind of misbehavior.
  24. Seems like a problem with webserver configuration... Anyway, it is difficult to make a guess without knowing server configuration details.
×
×
  • Create New...