Comments (4)
@dzadzakin
Thank you for reporting the build error.
I have indeed confirmed that the error occurs on my end as well😓
We will investigate based on the information you provided and may take some time.
By the way, are you seeing localhost:3000 on the front end?
from domsy.
@uswebk thanks for your quick reply!
I can see the port 3000 is opened on the VM:
# netstat -tapn | grep 3000
tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN 38362/docker-proxy
But when I try to open it, I receive this:
curl http://127.0.0.1:3000
curl: (52) Empty reply from server
Below is the output of docker ps
:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
670174a81b2f frontend-nuxt "docker-entrypoint.s…" 30 hours ago Up 30 hours 8080/tcp, 0.0.0.0:8080->3000/tcp frontend-nuxt-1
92555396ab10 mysql "docker-entrypoint.s…" 32 hours ago Up 31 hours 33060/tcp, 0.0.0.0:3307->3306/tcp domsy-db-test
bc0b88368370 nginx "/docker-entrypoint.…" 32 hours ago Up 31 hours 80/tcp, 0.0.0.0:8000->8000/tcp domsy-nginx
79a31ee4dce3 schickling/mailcatcher "sh -c 'mailcatcher …" 32 hours ago Up 31 hours 1025/tcp, 0.0.0.0:1080->1080/tcp backend-mailcatcher-1
323c93dcf595 backend-web "docker-php-entrypoi…" 32 hours ago Up 31 hours 0.0.0.0:3000->3000/tcp, 9000/tcp domsy-web
And if for example I call this URL, I receive this exception:
http://127.0.0.1:8000/api/me
Illuminate\Encryption\MissingAppKeyException
No application encryption key has been specified.
I hope you'll find the reason and help me (and others) to fix it.
Thanks a lot
from domsy.
Thanks for the confirmation.
I am sorry for the way I communicated this, but there was an error in the port number for the front end.
localhost:3000 → localhost:8080
There is also something I would like you to try regarding the back end.
cd backend
docker-compose exec web bash
cp -p .env.example .env
cp -p .env.testing.example .env
.env
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=domsy
DB_USERNAME=root
DB_PASSWORD=root
php artisan key:generate
php artisan migrate:fresh --seed
Also, domsy-db starts up in my environment, but it does not appear to be running in yours.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a9ed5d7c1cbf backend_web "docker-php-entrypoi…" 2 months ago Up 4 days 0.0.0.0:3000->3000/tcp, 9000/tcp domsy-web
09760f98eaf0 frontend_nuxt "docker-entrypoint.s…" 2 months ago Up 3 days 8080/tcp, 0.0.0.0:8080->3000/tcp frontend_nuxt_1
bc5d8e83b22b mysql "docker-entrypoint.s…" 2 months ago Up 3 days 0.0.0.0:3306->3306/tcp, 33060/tcp domsy-db
055f417bb1f4 nginx "/docker-entrypoint.…" 2 months ago Up 3 days 80/tcp, 0.0.0.0:8000->8000/tcp domsy-nginx
e1ee010bc513 mysql "docker-entrypoint.s…" 2 months ago Up 3 days 33060/tcp, 0.0.0.0:3307->3306/tcp domsy-db-test
935268caf98c schickling/mailcatcher "sh -c 'mailcatcher …" 2 months ago Up 3 days 1025/tcp, 0.0.0.0:1080->1080/tcp backend_mailcatcher_1
Could you check this, please?
from domsy.
sorry for the late reply.
I tried to execute the commands you suggested me, but the last commands returns this error (about php version):
backend# php artisan key:generate
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33. in /backend/vendor/composer/platform_check.php on line 24
backend# php artisan migrate:fresh --seed
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33. in /backend/vendor/composer/platform_check.php on line 24
The Frontend is working but cannot register/login because localhost:8000/api/me returning this:
Illuminate\Encryption\MissingAppKeyException
No application encryption key has been specified.
I see you added a commit which should fix that issue, I'll try from scratch and let you know!
Thank you very much,
Please keep up your work!
from domsy.
Related Issues (20)
- グループ+権限管理の仕組み導入 HOT 1
- CRUD操作をモーダルにする
- ユーザーメール受信設定画面作成
- make QueryServiceInterface
- Readmeをプロダクト用に更新
- DNS自動取得バッチ
- CSVエクスポート機能
- ベースフレーム作成
- ユーザー登録アプリケーションサービスの有効期限Checkを除く
- use NuxtLink
- v2
- ダッシュボード作成
- Front → Vue or React
- change namespace of Infrastructures
- ドメイン追加時にDNSレコードを自動生成
- DNS一覧ページにドメインで絞り込みできるように変更
- ドメイン編集画面タブ化
- DnsController@storeにてdomain_idの有用性を確かめる
- テーブル名変更する domain_dns_records → subdomains
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from domsy.