Actions100
- Project Actions
- Project Accept Project Invite
- Project Create Project Invite
- Project List Invites For Project
- Project Create Project
- Project Decline Project Invite
- Project Delete Project Avatar
- Project Request Project Avatar Upload
- Project Delete Project Invite
- Project Get Project Invite
- Project Delete Project Membership
- Project Get Project Membership
- Project Update Project Membership
- Project Delete Project
- Project Get Project
- Project Delete Server Avatar
- Project Request Server Avatar Upload
- Project Get Project Token Invite
- Project Get Self Membership For Project
- Project Get Server
- Project List Memberships For Project
- Project List Project Invites
- Project List Project Memberships
- Project List Projects
- Project List Servers
- Project Resend Project Invite Mail
- Project Update Project Description
- Project Update Server Description
- Storagespace Get Project Statistics
- Storagespace Get Server Statistics
- Storagespace Replace Project Notification Threshold
- Storagespace Replace Server Notification Threshold
- Backup Actions
- Backup Create Project Backup Export
- Backup Delete Project Backup Export
- Backup Create Project Backup Schedule
- Backup List Project Backup Schedules
- Backup Create Project Backup
- Backup List Project Backups
- Backup Delete Project Backup Schedule
- Backup Get Project Backup Schedule
- Backup Update Project Backup Schedule
- Backup Delete Project Backup
- Backup Get Project Backup
- Backup Update Project Backup Description
- SSH SFTP User Actions
- Cronjob Actions
- App Actions
- App Execute Action
- App Get App
- App Get Appinstallation
- App Patch Appinstallation
- App Uninstall Appinstallation
- App Get Appversion
- App Get Installed Systemsoftware For Appinstallation
- App Get Missing Dependencies For Appinstallation
- App Get Systemsoftware
- App Get Systemsoftwareversion
- App Link Database
- App List Appinstallations For User
- App List Appinstallations
- App Request Appinstallation
- App List Apps
- App List Appversions
- App List Systemsoftwares
- App List Systemsoftwareversions
- App List Update Candidates For Appversion
- App Replace Database
- App Request Appinstallation Copy
- App Retrieve Status
- App Unlink Database
- App Set Database Users
- Project File System Actions
- Contract Actions
Overview
The "Project File System Get Disk Usage" operation retrieves disk usage information starting from a specified directory within a given project. This node is useful for monitoring storage consumption in project environments, helping users identify how much disk space is used by files and directories under a certain path.
Practical examples include:
- Checking the disk usage of log files or data folders within a project to manage storage limits.
- Automating alerts or reports based on disk usage thresholds.
- Integrating disk usage data into dashboards for resource monitoring.
Properties
Name | Meaning |
---|---|
Project Id | The unique identifier of the project for which disk usage is being calculated. |
Directory | The starting directory path from which to calculate disk usage. Defaults to /home/example.log . |
Output
The node outputs JSON data containing the disk usage statistics starting from the specified directory within the project. The exact structure is not detailed in the provided code, but typically it would include fields such as total size, used space, free space, or breakdowns per subdirectory.
No binary data output is indicated.
Dependencies
- Requires an API key credential to authenticate requests to the mittwald mStudio API.
- The node uses the mittwald mStudio API endpoint at
https://api.mittwald.de
. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Project Id may cause the API request to fail.
- Incorrect directory paths might result in empty or error responses.
- Network connectivity problems can prevent access to the mittwald API.
Error messages:
- Authentication errors indicate issues with the API key credential; verify and update credentials.
- "Directory not found" or similar errors suggest the specified directory does not exist or is inaccessible.
- API rate limiting or quota exceeded errors require checking API usage limits.
Links and References
- mittwald mStudio API Documentation (official API reference)
- n8n documentation on Using API Credentials