Wappler Version : 2.1.2
Operating System : Windows 10
Expected behavior
Files should upload to repository
Actual behavior
Trying to upload a quite big site to a git repository using new git feature (smaller sites have worked correctly)
(site is hosted on local network server, not on local machine)
Site has 3295 files
I select all files, add a title and click Commit
I get the “committing changes” message and can see initially network activity indicating files are being committed
After about 2mins 30s network activity ceases (complete?) but the “committing changes” message continues and never stops (i have left it overnight so still busy 8 hrs later)
Wappler cannot be exited by normal means due to modal message and has to be quit out from task bar or task manager
The repository is not created
Video showing issue and network activity and a debug log attached
hmm seems we have some troubles with your paths, I see also error like: Uncaught (in promise) Error: invalid path: 'roomimages/album-721576949550264601.'"
could you tell a bit more about your folder structure? I see many images with special paths?
Maybe not all of them have valid path names?
This contains the large images and subfolders of the mid size and thumbnails
My local copy does not contain all the online images as they are uploaded by the customer via an admin panel. I assume the git feature only backs up the local files, not the online files?
While i can not vouch for what the the file names are, they are all images, not galleries although some of the file names may lead you to think otherwise, they are replications of the names given on the accommodation blocks own website from where they are taken
Yes, this was an early section of the project when i was still very much in the learning zone (still am ), many things i would have done differently if i was to be doing it now.
So basically is a file lacks a valid extension, git commit will fail?
Put a hold on that, seem to have some sort of integrity error with that file, it wont delete or rename. will come back to you when resolved. Thanks for sharing your Saturday morning with me!
Btw just an advice: although it is possible, it might be not very good idea to have all user generated files into your local repository as backup. It will just make it too large and slow it down.
Also those images keep getting updated online, just as you database get mutated.
So I would suggest different backup strategy for online images and database.
So you can just add the images folder to .gitignore and keep your repository for code change history.
Yes, sensible. I actually have no need for any of the images locally at all, there was just a small subset i had downloaded for testing purposes. Server is backed up daily anyway
Was really just trying out the git feature at this stage, just my luck to have a dodgy filename!
I will set them to be ignored, good advice
Thanks again for your time, especially at the weekend.