nzy / bitrix-env-vagrant Goto Github PK
View Code? Open in Web Editor NEWVagrant box для Bitrix окружения
Vagrant box для Bitrix окружения
При инициализации vagrant выдает ошибку:
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
Константин, добрый день!
Когда установлено окружение, группа и владелец папки /home/bitrix/ root, хотя php и mysql работают от пользователя bitrix, поэтому они не могут писать в /home/bitrix/www/.
Было бы вообще шикарно (имхо) если бы в папке /home/bitrix/www/ после установки веб окружения находился файлик bitrixsetup.php.
Спасибо за решение.
После того как отработал скрипт bitrix-env, запускается env-update, который выдает следующее:
==> default: Bitrix Environment for Linux installation complete
==> default: Running provisioner: shell...
default: Running: /var/folders/gn/436795p97yl6j2hsbzmyfng40000gn/T/vagrant-shell20150929-1627-whj9mb.sh
==> default: You must change password for bitrix user
==> default:
==> default: New password: Retype new password: Sorry, passwords do not match.
==> default: New password: BAD PASSWORD: it is too short
==> default: BAD PASSWORD: is too simple
==> default: Retype new password: Password change aborted.
==> default: New password: Password change aborted.
==> default: Changing password for user bitrix.
==> default: You must changed password for user
==> default:
==> default: passwd: Have exhausted maximum number of retries for service
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
И не отрабатывает до конца.
https://atlas.hashicorp.com/chef/boxes/centos-6.5 - 404 not found.
При открытии сайта после развертывания в вашем боксе vagrant. Выдает следующую ошибку.
Я так понимаю что какая то проблема с правами.
Warning: session_start(): open(/tmp/php_sessions/www/sess_ib5pnea289jhaq0klij4jerqc3, O_RDWR) failed: No such file or directory (2) in /home/bitrix/www/bitrix/modules/main/include.php on line 1
Vagrant 1.7.2, Bitrix Env. 5.1.2
Fresh install (provision) finishes successfuly, but Bitrix fails to run.
In httpd logs:
[Thu Apr 02 10:53:06 2015] [crit] [client 10.0.2.2] (13)Permission denied: /home/bitrix/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
После обновления CentOS yum update
, vagrant up
запускается с ошибкой:
/sbin/mount.vboxsf: mounting failed with the error: No such device
Что приводит к тому, что папка /home/bitrix/www
получается пустой.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.