basis-company / tarantool-admin

MIT License
110 stars 29 forks source link

Broken UI #32

Closed makorne closed 5 years ago

makorne commented 5 years ago

`` screenshot_2019-03-07_06-13-31

nekufa commented 5 years ago

Hello, looks like, extjs framework was not loaded. Do you use docker container or php developer server from console?

nekufa commented 5 years ago

Thanks for your feedback, fixed in latest docker build 0.3.13

makorne commented 5 years ago

Just re-cloned, docker container. Screenshot_2019-03-13_04-28-36

nekufa commented 5 years ago

Looks like, you still use previous version. You need force image upgrade using:

docker pull quay.io/basis-company/tarantool-admin

makorne commented 5 years ago

I try docker pull quay.io/basis-company/tarantool-admin - same error

I did docker-compose rm --all && docker-compose pull && docker-compose build --no-cache && docker-compose up -d --force-recreate

I did in empty directory: git clone https://github.com/basis-company/tarantool-admin.git

but looks like it is old docker-compose problem with cache https://github.com/docker/compose/issues/1049

I did: docker-compose stop && \ echo "PikWi says: docker-compose rm ..." && \ docker-compose rm -f --all && \ echo "PikWi says: docker-compose pull" && \ docker-compose pull && \ echo "PikWi says: docker-compose build ..." && \ docker-compose build --no-cache && \ echo "PikWi says: docker-compose up ..." && \ docker-compose up -d --force-recreate --remove-orphans

But the problem remains. Maybe github files are not updated?

docker run -p 8000:80 quay.io/basis-company/tarantool-admin works normally, no errors.

nekufa commented 5 years ago

Please, verify that installer.sh is same as master branch. If no - git pull and that docker-compose build . But if you start from scratch - it's very strange. Please, copy build output to pastebin and share a link for me, it can help me investigating the issue.

By the way, why do you build your own image? You can use built image in your docker compose file, as well.

makorne commented 5 years ago

Looks like I had some issues with docker. I dropped all several times - containers and images, rebooted and so on.. And now github version works!!!

No special purpose, simply used one of your recommended ways. Thanks to your team for your work!!

makorne commented 5 years ago

After another cleanup of all docker files the error return https://www.pastefs.com/pid/105543

nekufa commented 5 years ago

So strange, output looks good - everything was built and all assets were downloaded with no issues.
We use GitHub only for public projects, so i see updates from time to time.
Sorry, for the delay with answers, can you contact me via telegram.me/nekufa?

affair commented 5 years ago

@nekufa I have the same error when I move docker-compose.yml file.

I mean if I run docker-compose up from the root folder of the repo - everything works fine.

But when I move it up one level and edit docker-compose.yml build: . replace with build: ./tarantool-admin I have absolutely the same broken UI. How can I solve this issue? Thanks in advance.

nekufa commented 5 years ago

But when I move it up one level and edit docker-compose.yml build: . replace with build: ./tarantool-admin I have absolutely the same broken UI. How can I solve this issue?

@affair please update volumes as well or simply remove this section. volumes are configured for hot-code reload if you want to extend the application

nekufa commented 5 years ago

@makorne @affair use latest github version, i found out what was incorrect, now everything should work good.

affair commented 5 years ago

@makorne @affair use latest github version, i found out what was incorrect, now everything should work good.

@nekufa Thanks a lot. It works now