Je kan eens proberen of het script dat ik gebruik werkt voor jou.Falco schreef op dinsdag 22 september 2020 @ 22:03:
Ik begrijp niet helemaal wat je bedoelt, maar ik start de CSV importer met het run-hosted voorbeeld script.
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 # # This script will kick off the CSV importer on the command line, using Docker run. # It will launch a web server on port 8081 that you can approach and use to import data. # # Create a personal access token in your Firefly III installation, under 'Profile' # PERSONAL_ACCESS_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiMjU3MmI3OGY2NmM0ZjhjNDY2M2VkMTFjNGI3NTQzZjIyZDI3NDNhODc5Y2E2YzM0NDkwNzhmNTdmZGRhNGY5MjM4ZDUzNzBlZDBlM2EyZTciLCJpYXQiOjE1OTk0ODc1OTUsIm5iZiI6MTU5OTQ4NzU5NSwiZXhwIjoxNjMxMDIzNTk1LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.iehrEifF5WzCjZWmvbHOGhke8PnM-Sa3OT5llTsWYwa_5ZfEB-09709wtz2QP9A-dR0CTgDy3GpJKGT9yVs_DoVWr5HVzZx0gqGGaFaAT1L75Sr2addzpNP5FMX5JCJVX1ypaB-Gk1lVyikvahiuhLbx0eLFULLWLXHyjmEaSHuHg08bXHQt6nz-BLQx_g1NBm5E-goVf2K6MiYQgj_a34xozm0Y3EtRylnNTzoGZ-UJleJeyPHwGjtG-SJbO8buWulwPs5JBc7A65dR53Cd8rwsak-uCNiqLyyoOvtyZ6Pb0Mggj1NCOSNOCqiPjGRWae6D5vXwErohhcPgf_9Wb5u9RydqJkRy29yjFwHVLZyeqGH7jWIDjnW_7mcptts19HGsUSSGyaMRJsPHSGPbuqGzlInhjI5aarj4FctGRV5_jvJmHJYkN_iEsuajd_gDlbhV2j5Wls5RYSV0bff-r8gpZ-6n5KVQlaVZ__8jZB3KqxbvWhrMA7vStxiGjQCnsopKXS1yIvUEgSR7gt2W6iPaFOzIXeYo49oew0t-agq91Z8ylR9A8Q7uaVRULDZwCpIkNgp8CbNehSOB_K7ELiBw62zSx6SG4Mszfjumz0EE3MXAWBQ-QmzR1Gi7YdxW18ioU8XDvxOPf5wz6qJhHkwm37E8T-wX9mzxd5OjyF4 # # # This is the full path to your Firefly III installation: # FIREFLY_III_URI=http://192.168.1.190:8080 # # There is no need to touch anything after this point, but if you're smart you're free to do so. # docker run -d \ --rm \ -e FIREFLY_III_ACCESS_TOKEN=$PERSONAL_ACCESS_TOKEN \ -e FIREFLY_III_URI=$FIREFLY_III_URI \ -p 8081:80 \ fireflyiii/csv-importer:latest
Dit moet je in je SSH venster plakken en uitvoeren.
Let wel op: ik maak gebruik van een macvlan en een vast IP adres. Dat moet je er wel nog even uithalen als je dat niet gebruikt.