This guide includes the latest fixes for cross-computer compatibility and improved UI behavior for adding tags and avatar bases.
- Docker and Docker Compose installed on your system
- Git (to clone the repository)
- Basic command line knowledge
# Clone the repository
git clone https://github.com/yourusername/vrchat-asset-manager.git
cd vrchat-asset-manager
# Create the necessary directories with proper permissions
mkdir -p uploads
mkdir -p database
chmod 777 uploads
chmod 777 database
Replace or create the following files with the updated versions to fix any issues:
This file has been updated to work properly without requiring environment variables to be set manually.
Similarly, this file has been updated for better Docker compatibility.
Fixed issues with the "Add new tag" and "Add new avatar base" buttons being selectable as actual values.
Replace your existing Dockerfile
with the updated version that properly handles permissions and environment variables.
Replace your existing docker-compose.yml
with the updated version.
# Build and start the containers
docker-compose up -d --build
# Check the logs to make sure everything is running properly
docker-compose logs -f
For first-time setup, you need to initialize the database:
docker exec -it vrchat-asset-manager npm run init-db
Once everything is running, you can access the application at:
http://localhost:5000
-
Cross-Computer Compatibility: The application no longer requires modifying the client/.env file to work on different computers. The API URL is now automatically determined based on the environment.
-
UI Improvements: The "Add new tag" and "Add new avatar base" buttons in the asset uploader are now fixed to prevent them from being selected as actual values, which previously could result in empty tags or bases.
-
Docker Configuration: The Docker setup has been improved to ensure proper permissions and environment variables are set.
If you still encounter permission issues with uploads:
-
Check container permissions:
docker exec -it vrchat-asset-manager ls -la /app/uploads docker exec -it vrchat-asset-manager ls -la /app/database
-
Manually set permissions:
docker exec -it vrchat-asset-manager chmod -R 777 /app/uploads docker exec -it vrchat-asset-manager chmod -R 777 /app/database
-
Check the ownership of the local directories:
ls -la uploads/ ls -la database/
To check the application logs:
docker-compose logs -f
If you need to restart the application:
docker-compose restart
If you need a complete reset:
docker-compose down
rm -rf database/*
docker-compose up -d
docker exec -it vrchat-asset-manager npm run init-db
The updated application now supports adding custom avatar bases through the UI:
- When adding or editing an asset, go to the "Compatibility" step
- Click on "Add new avatar base" at the bottom of the dropdown
- Enter a name for your custom avatar base (e.g., "CustomDragon4.5")
- Optionally provide an ID (if not provided, a normalized version of the name will be used)
- Custom bases will be saved to your browser's local storage and will persist between sessions
vrchat-asset-manager/
│
├── client/ # React frontend
├── server/ # Express backend
├── database/ # SQLite database file (created at runtime)
├── uploads/ # Uploaded files (created at runtime)
├── docker-compose.yml
├── Dockerfile
└── docker-entrypoint.sh
- Make sure ports 5000 is available on your system
- The application uses a SQLite database for simplicity, which is stored in the
database
directory - Uploaded files are stored in the
uploads
directory - You can customize these paths in the
docker-compose.yml
file if needed