<@U04S8PLJWMT> cant use the file conector
# ask-ai
b
@kapa.ai cant use the file conector
k
It appears that many users have experienced issues using the File connector in Airbyte, especially when trying to use local files as a source. Here are some key points and common problems based on the knowledge sources: 1. Local Filesystem Support Issues: There have been multiple reports that support for writing to or reading from the local filesystem is either broken or not functioning as expected in recent Airbyte versions, especially in Kubernetes or abctl-based deployments. Users have reported that files are not accessible or are missing after sync, and that the documentation does not always reflect these limitations. There are workarounds involving Kubernetes persistent volumes, but these require additional setup and are not straightforward for all users. The Airbyte team has acknowledged these issues and is working on improvements, but as of now, local file support may not work out of the box for many setups [Unclear documentation regarding local file source connector](https://github.com/airbytehq/airbyte/issues/45645). 2. Kubernetes and abctl Deployments: If you are running Airbyte on Kubernetes or using abctl, you may need to configure persistent volumes and claims to make local files accessible to the connector containers. Without this, the connector will not be able to find files at the expected paths (e.g.,
/local/
). There are detailed community workarounds involving custom YAML files for persistent volumes and claims, but these are not officially documented as standard procedure [Unclear documentation regarding local file source connector](https://github.com/airbytehq/airbyte/issues/45645). 3. Common Errors: - "File or Folder not present at location." - "No such file or directory: '/local/filename.csv'" - 502 errors or "Unauthorized" errors in abctl deployments, which may be related to misconfiguration or permission issues [error 502 - Error on airbyte-abctl-worker](https://github.com/airbytehq/airbyte/issues/65574), [[File source] cannot add File source (local filesystem) as source in airbyte (k8s deployment)](https://github.com/airbytehq/airbyte/issues/55863). 4. Documentation: The documentation describes how to set up the File connector and mentions that for local files, the path must start with
/local/
. However, it also notes that on Windows, you must adjust certain environment variables. These instructions may not be sufficient for Kubernetes or abctl deployments, where additional volume configuration is required [File (CSV, JSON, Excel, Feather, Parquet) > Setup guide](https://docs.airbyte.com/integrations/sources/file#step-2-select-the-provider-and-set-provider-specific-configurations). Summary: If you are unable to use the File connector, it is likely due to current limitations or missing configuration for local file access, especially in Kubernetes or abctl environments. You may need to set up persistent volumes and ensure the files are accessible within the connector's container. If you are using an older connector version, upgrading may help, but local file support is still known to be problematic in some cases. If possible, consider using remote file storage (S3, GCS, SFTP, etc.) as a workaround until these issues are resolved. If you need step-by-step help with persistent volume setup or have a specific error message, please provide more details about your deployment environment and error logs.