Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 [Bug]: Cannot deploy my website using the static website application #2716

Closed
1 task done
Mahmoud-Emad opened this issue May 19, 2024 · 2 comments
Closed
1 task done
Assignees
Labels
dashboard type_bug Something isn't working
Milestone

Comments

@Mahmoud-Emad
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

which package/s did you face the problem with?

Dashboard

What happened?

I updated the Github-repo then went to the Staging Dashboard and deployed an instance but the instance not worked

Steps To Reproduce

  1. Go to the Staging Dashboard
  2. Provide a valid Github repo
  3. Deploy

which network/s did you face the problem on?

Dev

version

0d1e63f

Twin ID/s

143

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

The website link https://sw143storymith.gent02.dev.grid.tf/
The repo link https://github.com/Mahmoud-Emad/StoryMith

the deployment is not listed
image

Relevant log output

This is the deployment details 

[
  {
    "version": 0,
    "contractId": 110856,
    "nodeId": 171,
    "name": "storymith",
    "created": 1716100745,
    "status": "ok",
    "message": "",
    "flist": "https://hub.grid.tf/mayarosamaa.3bot/mayarosama-caddy2-v1.flist",
    "publicIP": null,
    "planetary": "300:393f:fb1e:1719:7058:9513:5a0c:19fc",
    "myceliumIP": "",
    "interfaces": [
      {
        "network": "nwcbx21",
        "ip": "10.20.4.2"
      }
    ],
    "capacity": {
      "cpu": 1,
      "memory": 2048
    },
    "mounts": [
      {
        "name": "diskela",
        "mountPoint": "/var/lib/docker",
        "size": 53687091200,
        "state": "ok",
        "message": ""
      }
    ],
    "env": {
      "SSH_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCF3JezThwSchTvkF2oPtn8X6chevNsfE58dIY3/eg5zK9tKgNYIB2saoFh12a0AJU424sAeLO0HghhNhe/Co62xkzHhk6EpXWNSFkrlzw+FVn1FKDZbbOZH47sC3n6p5a3YhM4dALssZ/aZdpaKBgXkzk91usJ+GVa+eOnpMRBlHgi9PpvowyzPSKeH9ZcVRBPnVU+nQGyV+kd6RahNBoNgNrHu/QFI92yg/y/7Szus1IS0U92cWKf/K/Sot7O10kSjmj06lMGOO8zdENk/xrtUtRHzemCj+mq0Q/3KUMCGvdb/tH0TDeNenxvibummiym4VTcnYqbm+RDXWG8HUc/RPfEVBl8p1NGZnkBt6QJl5hddHaYwx8CCmf3maSrQFcmrWYtlUDBXYkPyrv0qmy2gM1PScntF/X9zhIfnELlyAVAKXfzVwixrBh7oOIAqefydSVcwWtCXoH38F5q/zo9bQv+eHntI83mZrUUT7JGirQF64fpJKbCZPhv0kUm9bF7DVQMiyRZdk748cgVp7dEzMVlrfZ2eIvZag5zmuJTPB7bw00+Ik9jNaOIhEoCWEaYBw7KmrLonesV8rWUkEAwWPe28bXCVmUZlgZbWJi7BFWCst2Z/j2WgScHbdAv28gAcneDW4yQmt2YaYqXqmwgSVCaD/irq5FSO4upmo5u0Q== [email protected]",
      "GITHUB_URL": "https://github.com/Mahmoud-Emad/StoryMith",
      "GITHUB_BRANCH": "development",
      "HTML_DIR": "website/./index.html",
      "USER_DOMAIN": "",
      "STATICWEBSITE_DOMAIN": "sw143storymith.gent01.dev.grid.tf"
    },
    "entrypoint": "/sbin/zinit init",
    "metadata": "",
    "description": "",
    "rootfs_size": 524288000,
    "corex": false,
    "gpu": []
  }
]
@Mahmoud-Emad Mahmoud-Emad added the type_bug Something isn't working label May 19, 2024
@maayarosama maayarosama added this to the 2.5.0 milestone May 20, 2024
@maayarosama maayarosama self-assigned this May 20, 2024
@maayarosama
Copy link
Contributor

  1. Work Completed:
    The issue here was the project wasn't build and and the correct html dir from the build wasn't provided. And in the static website we expected not to build the project and a correct html dir
  2. Work in Progress (WIP):
  • still investigating why the deployment list isn't refreshed after deploying an instance

@khaledyoussef24
Copy link
Contributor

verified in both #2088 and #2817
tried in both project a github repo for static website
and worked fine
testcase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard type_bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

5 participants