То, что я пытаюсь сделать, - это нажать приложение метеора по умолчанию, которое автоматически генерируется на
meteor create myApp
, на raspberryPi3B +, на котором выполняется raspbian stretch lite.
Я застрял на шаге2-3 на странице Meteor Up: http://meteor -up.com / Getting-Start.html
У меня должно быть что-то не так при настройке моего " mup.js"файл на шаге 2, который выдает ошибку на шаге 3 после запуска
sudo mup setup --verbose
Я получаю следующее сообщение в терминал:
Started TaskList: Setup Docker
[192.168.1.30] - Setup Docker
18.06.1-ce
Major 18
Minor 06
[192.168.1.30] - Setup Docker: SUCCESS
Started TaskList: Setup Meteor
[192.168.1.30] - Setup Environment
[192.168.1.30] - Setup Environment: SUCCESS
Started TaskList: Setup Mongo
[192.168.1.30] - Setup Environment
[192.168.1.30] - Setup Environment: SUCCESS
[192.168.1.30] - Copying mongodb.conf
[192.168.1.30] - Copying mongodb.conf: SUCCESS
Started TaskList: Start Mongo
[192.168.1.30] - Start Mongo
3.4.1: Pulling from library/mongo
Digest: sha256:aff0c497cff4f116583b99b21775a8844a17bcf5c69f7f3f6028013bf0d6c00c
Status: Image is up to date for mongo:3.4.1
mongodb
Error response from daemon: Container 7d3155f5765a449501cb31f5150f4fb671a4e63b153fd49d702edb597679f1f8 is restarting, wait until the container is running
mongodb
Running mongo:3.4.1
9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb
Creating replica set
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Failed connecting to mongo to create replica set
[192.168.1.30] x Start Mongo: FAILED
------------------------------------STDERR------------------------------------
Error response from daemon: Container 7d3155f5765a449501cb31f5150f4fb671a4e63b153fd49d702edb597679f1f8 is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Failed connecting to mongo to create replica set
------------------------------------STDOUT------------------------------------
3.4.1: Pulling from library/mongo
Digest: sha256:aff0c497cff4f116583b99b21775a8844a17bcf5c69f7f3f6028013bf0d6c00c
Status: Image is up to date for mongo:3.4.1
mongodb
mongodb
Running mongo:3.4.1
9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb
Creating replica set
------------------------------------------------------------------------------
My" mup.js"Конфигурационный файл выглядит следующим образом:
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: '192.xxx.x.xx',
username: 'pi',
// pem: './path/to/pem'
password: 'password'
// or neither for authenticate from ssh-agent
}
},
app: {
// TODO: change app name and path
name: 'ceresTestApp',
path: '../',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
// TODO: Change to your app's url
// If you are using ssl, it needs to start with https://
ROOT_URL: 'http://app.com',
MONGO_URL: 'mongodb://mongodb/meteor',
MONGO_OPLOG_URL: 'mongodb://mongodb/local',
},
docker: {
// change to 'abernix/meteord:base' if your app is using Meteor 1.4 - 1.5
image: 'abernix/meteord:node-8.4.0-base',
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true
},
mongo: {
version: '3.4.1',
servers: {
one: {}
}
},
// (Optional)
// Use the proxy to setup ssl or to route requests to the correct
// app when there are several apps
// proxy: {
// domains: 'mywebsite.com,www.mywebsite.com',
// ssl: {
// // Enable Let's Encrypt
// letsEncryptEmail: 'email@domain.com'
// }
// }
};
Я должен признать, что я не знаю, что поставить для" ROOT_URL "или" MONGO_URL ".Пример минимальной конфигурации, найденный здесь: http://meteor -up.com / docs.html
Используются те же записи по умолчанию для тех двух полей, которые я сохранил при создании файла.Так что я не совсем уверен, что это проблема.
Когда я смотрю, где начинается ошибка до зацикливания в терминале, я вижу это:
Status: Image is up to date for mongo:3.4.1
mongodb
Error response from daemon: Container 7d3155f5765a449501cb31f5150f4fb671a4e63b153fd49d702edb597679f1f8 is restarting, wait until the container is running
mongodb
Running mongo:3.4.1
9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb
Creating replica set
Error response from daemon: Container 9c0755e4657323e0f4661713a32aeb0fa337debfab9d51c35437ef5879eef1eb is restarting, wait until the container is running
Моя интерпретация заключается в том, что MongoDBоба установлены и обновлены.Проблемы начинаются, когда процесс установки пытается запустить MongoDB с Docker, потому что точка, которая продолжает цикл, относится к контейнерам.Никогда прежде не работал с докером, я не знаю, с чего начать.
Что, похоже, идет не так с моим процессом MongoDB при запуске
sudo mup setup --verbose
?
Собираюсь посмотреть несколько видео о докере, пока я оставлю это здесь на некоторое время.
Извиняюсь за длину, я просто хотел предоставить как можно больше деталей,Пожалуйста, дайте мне знать, если я могу что-то сделать, чтобы улучшить формат моего вопроса.
Заранее спасибо!