FAQs & Troubleshooting#
User troubleshooting guide#
Session list is not displayed correctly#
Due to intermittent network problems and/or other various reasons, session list may not be displayed correctly. Most of the time, this problem will disappear just by refreshing the browser.
- Web-based WebUI: Refresh the browser page (use the shortcut provided by browsers such as Ctrl-R). Since the browser's cache may cause troubles sometimes, it is recommended to refresh the page bypassing the cache (such as Shift-Ctrl-R, but the keys may differ in each browser).
- WebUI App: Press Ctrl-R shortcut to refresh the app.
Suddenly, I cannot login with my account#
If there are problems in recognizing authentication cookies, users may not be able to login temporarily. Try to login with private browser window. If it succeeds, please clear your browser's cache and/or application data.
The WebUI says I am offline#
A red Offline: Not connected to any networks. banner at the top of the page means the Backend.AI server could not be reached. Check your network connection, and confirm with your administrator that the Backend.AI server is running. The WebUI keeps re-checking while the banner is shown, so the banner disappears on its own within a few seconds once the server is reachable again.
A link takes me to an error page instead of the page I expected#
When an address cannot be opened, the WebUI keeps you inside the application and explains why instead of leaving a blank page. The page shows the address you tried to open and a button that takes you to the first page available to you (Go back to the ... page). The message tells you which of the following happened:
- Oops! Page not Found... — the address does not match any page in the WebUI. This usually comes from a mistyped or outdated link, or a bookmark saved before a page was renamed.
- Project '...' was not found or you don't have access to it. — the address names a project that does not exist, or that you are not a member of. The address is shown with the project part marked, so you can see exactly which name failed. Pick a project you can use from the project selector at the top of the page, and the same feature opens in that project.
- No accessible projects. — your account does not belong to any project yet. Ask your administrator to grant you access to a project, as the message suggests.
- Unauthorized Access — the address is valid, but your role does not allow you to open it.
How to install apt packages?#
Inside a compute session, users cannot access root account and perform
operations that require sudo privilege for security reasons. Therefore, it
is not allowed to install packages with apt or yum since they require
sudo. If it is really required, you can request to admins to allow sudo
permission.
Alternatively, users may use Homebrew to install OS packages. Please refer to the guide on using Homebrew with automount folder.
How to install packages with pip?#
By default, when you install a pip package, it will be installed under
~/.local. So, if you create an automount storage folder named .local, you
can keep the installed packages after a compute session is destroyed, and then
reuse them for the next compute session. Just install the packages with pip like:
pip install aiohttpFor more information, please refer to the guide on installing Python packages with automount folder.
I have created a compute session, but cannot launch Jupyter Notebook#
If you installed a Jupyter package with pip by yourself, it may be conflict with
the Jupyter package that a compute session provides by default. Especially, if you
have created ~/.local directory, the manually installed Jupyter packages
persists for every compute session. In this case, try to remove the .local
automount folder and then try to launch Jupyter Notebook again.
Page layout is broken#
Backend.AI WebUI utilizes the latest modern JavaScript and/or browser features. Please use the LATEST versions of moder browsers (such as Chrome).
SFTP disconnection#
This entry covers transfers that stop after a connection was established. If no connection dialog opens at all and a notification reports an error instead, the connection information could not be resolved — see the SSH/SFTP Connection to a Compute Session chapter.
When the WebUI App launches an SFTP connection, it uses a local proxy server which is embedded in the App. If you exit the WebUI App during the file transfer with SFTP protocol, the transfer will immediately fail because the connection established through the local proxy server is disconnected. Therefore, even if you are not using a compute session, you should not quit the WebUI App while using SFTP. If you need to refresh the page, we recommend using the Ctrl-R shortcut.
If the WebUI App is closed and restarted, the SFTP service is not automatically initiated for the existing compute session. You must explicitly start the SSH/SFTP service in the desired container to establish the SFTP connection.
Admin troubleshooting guide#
Users cannot launch apps like Jupyter Notebook#
There may be a problem connecting to the App Proxy service. Try to stop and restart the service by referencing the guide on start/stop/restart App Proxy service.
When users report a failure to open SSH/SFTP rather than a web-based app, ask them for the exact message shown in the notification: each message points at a different part of the App Proxy path; see the SSH/SFTP Connection to a Compute Session chapter for details.
Indicated resources do not match with actual allocation#
Occasionally, due to unstable network connections or container management problem of Docker daemon, there may be a case where the resource occupied by Backend.AI does not match with the resource actually used by the container. In this case, follow the steps below.
- Login as admin account.
- Visit the Maintenance page.
- Click the Recalculate Usage button to manually correct the resource occupancy.
Image is not displayed after it is pushed to a docker registry#
This feature is only available for superadmins.
If a new image is pushed to one of the Backend.AI docker registries, the image metadata must be updated in Backend.AI to be used in creating a compute session. Metadata update can be performed by clicking the Rescan Images button on the Maintenance page. This will update metadata for every docker registry, if there are multiple registries.
If you want to update the metadata for a specific docker registry, open the Registries tab on the Environments page. Each registry is shown as a row with an action menu. Click the Rescan Images action for the desired registry's row to refresh only that registry's image metadata.
The same row also has a Delete action (the trash icon). Deleting a registry permanently removes it from Backend.AI — do not confuse it with the Rescan Images action.