Search found 17 matches

by JohnHaggerty
04 Feb 2023, 17:17
Forum: General Discussion
Topic: FreeFileSync 12.0 return code 139 - segmentation error
Replies: 3
Views: 513

Re: FreeFileSync 12.0 return code 139 - segmentation error

Hi Zenju,

I downloaded both the basic 12.0 and the Download Edition. I can confirm that they both run without error.

Thanks again.

John
by JohnHaggerty
04 Feb 2023, 16:06
Forum: General Discussion
Topic: FreeFileSync 12.0 return code 139 - segmentation error
Replies: 3
Views: 513

Re: FreeFileSync 12.0 return code 139 - segmentation error

Thanks Zenju. I have to go out now so I'll download it a bit later.
by JohnHaggerty
04 Feb 2023, 14:02
Forum: General Discussion
Topic: FreeFileSync 12.0 return code 139 - segmentation error
Replies: 3
Views: 513

FreeFileSync 12.0 return code 139 - segmentation error

Hi folks,

I'm getting the following errors since upgrading to FFS 12. It happens with basic 12.0 and the Donation Edition.

/home/john/live_files/software/scripts/run_FFS: line 709: 13661 Segmentation fault (core dumped)
./FreeFileSync $FFS_batch_path/archive_primary.ffs_batch 2>> $BASH_logfile
run ...
by JohnHaggerty
09 May 2021, 14:05
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

When the script is invoked manually, or by anacron or cron, the locale is set to en_GB.UTF-8 (the UK default), irrespective of the user invoking it.
When it is invoked by 'runuser' the locale LC_TIME is set to POSIX, with d_fmt then set to "%m/%d/%y", despite it running as the same user that ...
by JohnHaggerty
08 May 2021, 12:39
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

I've worked out what's happening.
FFS is run by a script.
When invoked manually or by cron it is run by user 'john' and locale -k LC_TIME shows d_fmt="%d/%m/%y".
When invoked by anacron it is run by user 'root' and locale -k LC_TIME shows d_fmt="%d/%m/%y".
To avoid permissions problems with files ...
by JohnHaggerty
07 May 2021, 12:06
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

I've just re-run the archive, daily and music _primary and _secondary backups and now they're all showing the date in dd/mm/yy format again.
Sample log file attached.
by JohnHaggerty
07 May 2021, 11:29
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

The batch file timestamp is first line in the log. The log file details is the last line in log.
For some unknown reason the batch file timestamp format has switched back to mm/dd/yy for the archive, daily and music _primary and _secondary backups run earlier today.
Sample log file attached.
by JohnHaggerty
06 May 2021, 23:04
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

Curiouser and curiouser. I deleted and recreated the archive_primary batch job and left all the other batch jobs untouched. I then executed my FFS script which ran the archive, music and daily _primary and _secondary batch jobs. They ALL now show the date in dd/mm/yy format, not just the re-created ...
by JohnHaggerty
06 May 2021, 14:04
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

Re: log file date format

I'm running FFS 11.9
by JohnHaggerty
06 May 2021, 13:28
Forum: General Discussion
Topic: log file date format
Replies: 8
Views: 3838

log file date format

Hi folks,
I've noticed something strange in my Linux Mint 20, FFS 11.9 log files - details below. The batch file timestamp (first line in log) shows the date in mm/dd/yy format for most jobs, but in dd/mm/yy format for others (monthly and weekly - and I can't tell for yearly). By contrast, the log ...
by JohnHaggerty
14 Aug 2019, 14:02
Forum: Help
Topic: running batch jobs via Linux cron
Replies: 0
Views: 855

running batch jobs via Linux cron

Hi folks,

I have a script which runs various FFS batch jobs without a problem when initiated from a Linux Mint Terminal window. However, when initiated by cron all the FFS batch jobs fail -
Error: Unable to initialize GTK+, is DISPLAY set properly?
return_code=255

***** Sorted *****
I ran env in ...
by JohnHaggerty
07 Aug 2019, 01:47
Forum: Help
Topic: variables in filenames
Replies: 6
Views: 884

Re: variables in filenames

Hi Gianni,

ISO 8601 doesn't specify what "week_of_the_month" is so I chose to define mine as being relative to the week_number of the week containing the first day of the month. Subtracting 1 from the week_number of the first day of the month gives an offset. Subtracting the offset from the week ...
by JohnHaggerty
06 Aug 2019, 01:06
Forum: Help
Topic: variables in filenames
Replies: 6
Views: 884

Re: variables in filenames

Hi Gianni,

Given that there's been no great clamour for such things I just wrote a script instead.

I'm happy to provide a copy to anyone who wants one.

Regards,

John
by JohnHaggerty
03 Aug 2019, 12:12
Forum: Help
Topic: launch FFS from Linux Mint Cinnamon command line
Replies: 2
Views: 1493

Re: launch FFS from Linux Mint Cinnamon command line

Thanks Zenju.

I did a 'flatpak uninstall' to get rid of it.

After a bit of experimenting I worked out that installing FFS via the Mint Software Manager sets it up as a flatpak. It then shows in All Applications so you can create a Desktop icon with the double arrow logo. Uninstalling it leaves the ...
by JohnHaggerty
02 Aug 2019, 10:57
Forum: Help
Topic: launch FFS from Linux Mint Cinnamon command line
Replies: 2
Views: 1493

launch FFS from Linux Mint Cinnamon command line

Hi folks,

I've been running FFS manually for a couple of months now since I switched from Windows to Linux - and very pleased with it I am too. I created a desktop shortcut as part of the installation and have been using that to launch.

Following on from an earlier Forum post (variables in ...
by JohnHaggerty
05 Jun 2019, 09:48
Forum: Help
Topic: variables in filenames
Replies: 6
Views: 884

Re: variables in filenames

Thanks Plerry,

As I said, I'm a newbie.

I can use %year%, 'month_%month%' (instead of 'Jan', etc.), and %weekday% (instead of 'Sun', etc.).

I can also use 'week_%week%' but, as there's no %WEEKOFTHEMONTH% equivalent, I'll need to manipulate it so as to cycle every few weeks, or keep only the last ...
by JohnHaggerty
04 Jun 2019, 23:40
Forum: Help
Topic: variables in filenames
Replies: 6
Views: 884

variables in filenames

Hi folks,

I'm a newbie who has just migrated from Win 10 to Mint 19. On Windows I used SyncBackSE for backups and will be using FreeFileSync on Mint.

I've had a read of external-applications and topics p11941, p10555, p20842, etc. but they don't seem cover what I'd like to do. (I realise I can ...