Replies: 2 comments 3 replies
-
Yeah, we don't really have any documentation for migration, though that would be a good addition (https://github.com/LycheeOrg/LycheeOrg.github.io if you feel like contributing one!). We have a FAQ about sync but it's not super obvious for your use case. Essentially put the photos on the server and use the sync command to import them, then you can optionally remove the originals (unless you use php artisan lychee:sync --help
Description:
Sync a directory to lychee
Usage:
lychee:sync [options] [--] <dir>...
Arguments:
dir directory to sync
Options:
--album_id[=ALBUM_ID] Album ID to import to
--owner_id[=OWNER_ID] Owner ID of imported photos [default: "1"]
--resync_metadata Re-sync metadata of existing files
--delete_imported[=DELETE_IMPORTED] Delete the original files [default: "0"]
--import_via_symlink[=IMPORT_VIA_SYMLINK] Imports photos from via a symlink instead of copying the files [default: "0"]
--skip_duplicates[=SKIP_DUPLICATES] Skip photos and albums if they already exist in the gallery [default: "0"]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug``` |
Beta Was this translation helpful? Give feedback.
-
after a recent unexpected upgrade from v4 to v5, my admin user name changed to a blurb $x5dsklfjsdlkfl568ydf6sdf6" and i had to recreate it via artisan.
What was the issue? Was it me because I did not check the release notes? Was it because of my bad practice to have latest tag in the compose? |
Beta Was this translation helpful? Give feedback.
-
Enhancement
The docs seem very focused around getting a Lychee LAMP stack up & running, and generally seems like the audience of those docs are developers familiar with Laravel / PHP / RDBMS de jour (mysql or postgresql) / HTTP Server du jour (nginx or apache)
Coming from a python background, it wasn't immediatley obvious what
php artisan
was / does, or available commands.I have a number of family albums I'd like to move from Google to a self-hosted service. I had no problem getting Lychee up and going on my home server, but I not sure how to get my family photos into the service. I'm assuming using rsync to the nginx folder would be wrong as metadata needs to be generated.
tl;dr would be helpful if there was a little more documentation around
lychee:sync
or other CMD commands to migrate photos from a computer to a lychee instance (ideally over SSH or local folder on the server if possible)Apologies if I totally missed some obvious documentation on this
Beta Was this translation helpful? Give feedback.
All reactions