Unable to Access a Notebook Instance Created Using an Old Image
Symptom
If you created a notebook instance using an image registered before June 2023, the instance may run correctly and allow SSH connections, but its webpage might fail to load. You will see this error message:
Access to your notebook is denied due to lost token or incorrect token. Please log in again. Click here to return to the login page.

Possible Causes
Notebook 1.0 was released before June 2023 and has been discontinued. You need to use the new version of notebook.
Solution
- Check whether the notebook instance is started using Notebook 1.0.
- Enable SSH remote development when creating a notebook instance. For more information, see Creating a Notebook Instance.
- After connecting to the notebook instance using SSH, check whether the notebook instance is started using Notebook 1.0.
- Method 1: Run the df -h command.
If the /modelarts directory is not found, the notebook instance is started using Notebook 1.0.
Figure 2 /modelarts directory not found - Method 2: Run the ps -ef command to check processes.
If the processes shown in the following figure are found, the notebook instance is started using Notebook 1.0.
Figure 3 Checking processes
- Method 1: Run the df -h command.
- Stop the notebook instance.
- Log in to the ModelArts console and choose Development Workspace > Notebook from the navigation pane.
- On the Notebook page, click Stop in the Operation column. In the displayed dialog box, click OK. For more information, see Starting, Stopping, or Deleting a Notebook Instance.
- Delete the historical image.
- Log in to the ModelArts console. In the navigation pane on the left, choose Image Management.
- On the Image Management page, click the target image name. In the Operation column, click Delete.
- In the displayed dialog box, enter DELETE and click OK.
- Register the image again.
- Log in to the ModelArts console. In the navigation pane on the left, choose Image Management.
- In the upper right corner, click Register.
- On the displayed page, set the parameters and click Register. For more information, see Creating a Custom Image for a Notebook Instance.
- Create a notebook instance using the newly registered image. For details, see Creating a Notebook Instance.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot